From db8fd5efeddd3500ebcd0902bf0c2a0b5a288de4 Mon Sep 17 00:00:00 2001 From: ana Date: Fri, 5 Aug 2016 10:33:47 +0300 Subject: [PATCH] Windows compatibility --- src/MEDCalc/gui/CMakeLists.txt | 4 ++++ 1 file changed, 4 insertions(+) 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 -- 2.39.2