diff --git a/ConfigureChecks.cmake b/ConfigureChecks.cmake index a5eb605..6e3aa97 100644 --- a/ConfigureChecks.cmake +++ b/ConfigureChecks.cmake @@ -211,9 +211,9 @@ if(PTHREAD_HAS_MUTEX_RECURSIVE) endif(PTHREAD_HAS_MUTEX_RECURSIVE) # End of PTHREAD_MUTEX_RECURSIVE Test -set(CMAKE_CXX_FLAGS_RELEASE "-O2 -w -fexceptions -DNDEBUG -include tqt.h") -set(CMAKE_CXX_FLAGS_RELWITHDEBINFO "-O2 -g -Wall -fexceptions -DDEBUG -include tqt.h") -set(CMAKE_CXX_FLAGS_DEBUG "-O0 -g3 -Wall -fexceptions -DDEBUG -include tqt.h") +set(CMAKE_CXX_FLAGS_RELEASE "-O2 -w -fexceptions -DNDEBUG") +set(CMAKE_CXX_FLAGS_RELWITHDEBINFO "-O2 -g -Wall -fexceptions -DDEBUG") +set(CMAKE_CXX_FLAGS_DEBUG "-O0 -g3 -Wall -fexceptions -DDEBUG") message(STATUS "Rosegarden ${PACKAGE_VERSION} will be built for install into ${CMAKE_INSTALL_PREFIX}")