summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSimon Rettberg2022-12-07 11:37:51 +0100
committerSimon Rettberg2022-12-07 11:37:51 +0100
commit41abdf2343a87459cd58003e53c819b8b0afe59b (patch)
tree6ee4958b36420d4f498809fc306fe8776acbd8bf
parentAdd sanity checks to RPC parse, so we don't reset everything (diff)
downloadbwlp-screensaver-41abdf2343a87459cd58003e53c819b8b0afe59b.tar.gz
bwlp-screensaver-41abdf2343a87459cd58003e53c819b8b0afe59b.tar.xz
bwlp-screensaver-41abdf2343a87459cd58003e53c819b8b0afe59b.zip
Turn deprecated-declarations into warningHEADmaster
-rw-r--r--CMakeLists.txt6
1 files changed, 3 insertions, 3 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 3079871..63ebcd3 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -5,13 +5,13 @@ cmake_minimum_required(VERSION 2.8.12 FATAL_ERROR)
# project name
project(bwlp-screensaver)
-set(CMAKE_BUILD_TYPE Debug)
-set(CMAKE_CXX_FLAGS_DEBUG "-O0 -g -Wall -Wextra -pedantic -Werror -Wno-multichar")
+set(CMAKE_BUILD_TYPE Release)
+set(CMAKE_CXX_FLAGS_DEBUG "-O0 -g -Wall -Wextra -pedantic -Werror")
set(CMAKE_CXX_FLAGS_RELEASE "-O2 -Wno-multichar")
set(CMAKE_CXX_STANDARD 11)
# 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" )
set(CMAKE_INCLUDE_CURRENT_DIR ON)
set(CMAKE_AUTOMOC ON)