From: ana Date: Fri, 5 Aug 2016 07:33:47 +0000 (+0300) Subject: Windows compatibility X-Git-Tag: V8_1_0b1~4^2 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=db8fd5efeddd3500ebcd0902bf0c2a0b5a288de4;p=modules%2Fmed.git Windows compatibility --- diff --git a/src/MEDCalc/gui/CMakeLists.txt b/src/MEDCalc/gui/CMakeLists.txt index f968a8381..ff7ee08bd 100644 --- a/src/MEDCalc/gui/CMakeLists.txt +++ b/src/MEDCalc/gui/CMakeLists.txt @@ -27,6 +27,10 @@ INCLUDE(UseQtExt) ADD_SUBDIRECTORY(dialogs) +IF(WIN32) + ADD_DEFINITIONS(-DNOMINMAX) +ENDIF(WIN32) + SET(MEDCALCGUI_SOURCES DatasourceController.cxx factory.cxx