]> SALOME platform Git repositories - tools/configuration.git/commitdiff
Salome HOME
Move NOMINMAX macro into CONFIGURATION rnv/64ids_win
authorrnv <rnv@opencascade.com>
Thu, 29 Apr 2021 21:17:32 +0000 (00:17 +0300)
committerrnv <rnv@opencascade.com>
Thu, 29 Apr 2021 21:17:32 +0000 (00:17 +0300)
cmake/SalomeSetupPlatform.cmake

index 22b2a4a37a360f0df881dfd98151d3311b2e1276..a099e62d109770d204c58a78a02120b221a7771c 100644 (file)
@@ -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