make sure -DQT_NO_DEBUG is set on windows ....

This commit is contained in:
Patrick von Reth 2013-10-15 17:40:59 +02:00
parent b1da019993
commit f4a870baf2
2 changed files with 6 additions and 2 deletions

View File

@ -22,4 +22,8 @@ if (CMAKE_COMPILER_IS_GNUCXX)
add_definitions (-D_BSD_SOURCE)
endif (CMAKE_SYSTEM_NAME MATCHES Linux)
if(WIN32)
add_definitions(-DQT_NO_DEBUG -DQT_FORCE_ASSERTS)
endif(WIN32)
endif(CMAKE_COMPILER_IS_GNUCXX)