From: rnv Date: Thu, 29 Apr 2021 21:17:32 +0000 (+0300) Subject: Move NOMINMAX macro into CONFIGURATION X-Git-Tag: V9_7_0rc1~3 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=37e8889ce05d6727c9071bf34a54fcd7e598ee22;p=tools%2Fconfiguration.git Move NOMINMAX macro into CONFIGURATION --- 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