Removed handling of Debug build in CMake projects.

This commit is contained in:
Rasim Labibov
2017-10-31 15:57:24 +02:00
parent 2a2681ac19
commit bc570313c8
2 changed files with 0 additions and 10 deletions
-5
View File
@@ -10,10 +10,6 @@ set(CMAKE_AUTOMOC ON)
set(CMAKE_AUTORCC ON)
set(CMAKE_AUTOUIC ON)
if(CMAKE_BUILD_TYPE MATCHES Debug)
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -DQT_QML_DEBUG -DQT_DECLARATIVE_DEBUG")
endif()
set(PROJECT "MinimalQml")
@@ -32,7 +28,6 @@ endif()
source_group("Header Files" FILES ${HEADERS})
source_group("Source Files" FILES ${SOURCES})
add_executable(${PROJECT} ${HEADERS} ${SOURCES} ${QT_RESOURCES})
target_link_libraries(${PROJECT}