diff options
author | Simon Rettberg | 2022-12-07 11:41:31 +0100 |
---|---|---|
committer | Simon Rettberg | 2022-12-07 11:41:31 +0100 |
commit | 0b0525050c452904403af9a8e5ff0f82e5ff49dc (patch) | |
tree | 6cb4438c9e04cb4747c24bce3a1e26418b5c8af7 | |
parent | Introduce --fb again (diff) | |
download | slxgreeter-0b0525050c452904403af9a8e5ff0f82e5ff49dc.tar.gz slxgreeter-0b0525050c452904403af9a8e5ff0f82e5ff49dc.tar.xz slxgreeter-0b0525050c452904403af9a8e5ff0f82e5ff49dc.zip |
Turn deprecated-declarations into warnings
-rw-r--r-- | CMakeLists.txt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index ac09d95..ae196db 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -8,7 +8,7 @@ PROJECT(qt-lightdm-greeter) set(CMAKE_CXX_STANDARD 11) set(CMAKE_CONFIGURATION_TYPES Debug Release) if(NOT CMAKE_BUILD_TYPE) - set(CMAKE_BUILD_TYPE Debug) + set(CMAKE_BUILD_TYPE Release) message(STATUS "Build type is not set. Defaulting to ${CMAKE_BUILD_TYPE} build!") endif(NOT CMAKE_BUILD_TYPE) @@ -30,7 +30,7 @@ QT5_ADD_RESOURCES(RSCS qt-lightdm-greeter.qrc) QT5_WRAP_UI(UI_HEADERS ${UIS}) # Some cmake versions can't understand the CMAKE_CXX_STANDARD option above? -SET( CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11" ) +SET( CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11 -Wno-multichar -Wno-error=deprecated-declarations" ) IF (USE_INCLUDED_LDMQT) message( FATAL_ERROR "Using included liblightdm-qt is not implemented" ) |