mirror of
https://github.com/OPM/ResInsight.git
synced 2025-01-24 15:26:48 -06:00
#3066 AppFwk : Add define to avoid min() and max() as macros
This commit is contained in:
parent
2eef989389
commit
b0a6b81363
@ -1,5 +1,10 @@
|
||||
cmake_minimum_required (VERSION 2.8.12)
|
||||
|
||||
if (MSVC)
|
||||
# Define this one to tell windows.h to not define min() and max() as macros
|
||||
add_definitions(-DNOMINMAX)
|
||||
endif (MSVC)
|
||||
|
||||
# Qt
|
||||
find_package ( Qt4 COMPONENTS QtCore QtGui QtMain )
|
||||
include (${QT_USE_FILE})
|
||||
|
Loading…
Reference in New Issue
Block a user