From 15676e249789f1db05daa8348de9ab7909004299 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jan=20M=C3=B6bius?= Date: Mon, 4 Mar 2013 11:41:13 +0000 Subject: [PATCH] Make sure that debug warning is displayed on mac git-svn-id: http://www.openflipper.org/svnrepo/OpenFlipper/branches/Free@16459 383ad7c9-94d9-4d36-a494-682f7c89f535 --- CMakeLists.txt | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 357375c14..bd882357c 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -7,10 +7,9 @@ endif() IF ( APPLE ) - IF(CMAKE_BUILD_TYPE MATCHES DEBUG) - message(WARNING "WARNING: Mac Debug mode mixes debug and release libraries (Webkit, ...), which causes strange errors.") - message(WARNING "WARNING: It might work but is currently not supported.") - ENDIF(CMAKE_BUILD_TYPE MATCHES DEBUG) + IF(CMAKE_BUILD_TYPE MATCHES Debug) + message(WARNING "WARNING: Mac Debug mode might mix debug and release libraries (Webkit, ...), which causes strange errors. If you use ports to provide qt, you might want to disable Qt debug libraries to make sure only release qt libraries are linked to OpenFlippers debug build.") + ENDIF(CMAKE_BUILD_TYPE MATCHES Debug) endif() -- GitLab