]> SALOME platform Git repositories - tools/medcoupling.git/commitdiff
Salome HOME
Add NOMINMAX definition on WIN32 platform.
authorrnv <rnv@opencascade.com>
Thu, 24 Oct 2013 08:18:08 +0000 (08:18 +0000)
committerrnv <rnv@opencascade.com>
Thu, 24 Oct 2013 08:18:08 +0000 (08:18 +0000)
src/MEDLoader/CMakeLists.txt

index 792bde49ae30d021195389b6431c4cead79e4167..9929df78b05912e4ca6f247b1aea19654ea2b742 100644 (file)
 
 ADD_DEFINITIONS(${HDF5_DEFINITIONS} ${MEDFILE_DEFINITIONS} ${XDR_DEFINITIONS})
 
+IF(WIN32)
+ ADD_DEFINITIONS(-DNOMINMAX)
+ENDIF(WIN32)
+
 IF(SALOME_MED_ENABLE_PYTHON)
   ADD_SUBDIRECTORY(Swig)
 ENDIF(SALOME_MED_ENABLE_PYTHON)