From: rnv Date: Thu, 24 Oct 2013 08:18:08 +0000 (+0000) Subject: Add NOMINMAX definition on WIN32 platform. X-Git-Tag: V7_3_1b1~87 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=ec7f680076cd8b19a651afa081c1113dbe0d6da7;p=tools%2Fmedcoupling.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)