From 37e8889ce05d6727c9071bf34a54fcd7e598ee22 Mon Sep 17 00:00:00 2001 From: rnv Date: Fri, 30 Apr 2021 00:17:32 +0300 Subject: [PATCH] Move NOMINMAX macro into CONFIGURATION --- cmake/SalomeSetupPlatform.cmake | 1 + 1 file changed, 1 insertion(+) diff --git a/cmake/SalomeSetupPlatform.cmake b/cmake/SalomeSetupPlatform.cmake index 22b2a4a..a099e62 100644 --- a/cmake/SalomeSetupPlatform.cmake +++ b/cmake/SalomeSetupPlatform.cmake @@ -55,6 +55,7 @@ IF(WIN32) ADD_DEFINITIONS(-DWNT -DWIN32) ADD_DEFINITIONS(-D_WIN32_WINNT=0x0500) # Windows 2000 or later API is required ADD_DEFINITIONS(-DPPRO_NT) # For medfile + ADD_DEFINITIONS(-DNOMINMAX) SET(PLATFORM_LIBS Ws2_32.lib) LIST(APPEND PLATFORM_LIBS Userenv.lib) # At least for GEOM suit -- 2.39.2