QTfrontend/CMakeLists.txt
changeset 10783 8e742c9ffdf8
parent 10489 bde3e43d7b27
child 11362 ed5a6478e710
--- a/QTfrontend/CMakeLists.txt	Tue Jan 06 16:38:39 2015 +0100
+++ b/QTfrontend/CMakeLists.txt	Thu Jan 15 11:48:28 2015 +0100
@@ -190,9 +190,9 @@
 
 #when debugging, always prompt a console to see fronted messages
 #TODO: check it doesn't interfere on UNIX
-if(CMAKE_BUILD_TYPE MATCHES "RELEASE")
+if(CMAKE_BUILD_TYPE MATCHES "RELEASE" OR CMAKE_BUILD_TYPE MATCHES "RELWITHDEBINFO")
     set(console_access "WIN32")
-endif(CMAKE_BUILD_TYPE MATCHES "RELEASE")
+endif(CMAKE_BUILD_TYPE MATCHES "RELEASE" OR CMAKE_BUILD_TYPE MATCHES "RELWITHDEBINFO")
 
 add_executable(hedgewars ${console_access}
     ${hwfr_src}