From: rnv Date: Thu, 24 Oct 2013 08:18:08 +0000 (+0000) Subject: Add NOMINMAX definition on WIN32 platform. X-Git-Tag: V7_3_0a1~62 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=4c569d92adae03b0fd7adedc9ae369254ba8381e;p=modules%2Fmed.git Add NOMINMAX definition on WIN32 platform. --- diff --git a/src/MEDLoader/CMakeLists.txt b/src/MEDLoader/CMakeLists.txt index 792bde49a..9929df78b 100644 --- a/src/MEDLoader/CMakeLists.txt +++ b/src/MEDLoader/CMakeLists.txt @@ -20,6 +20,10 @@ 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)