diff options
author | Simon Rettberg | 2022-12-07 11:44:42 +0100 |
---|---|---|
committer | Simon Rettberg | 2022-12-07 11:44:42 +0100 |
commit | 166631c896ca1afe0be38e6a4920ca8434c6e9c2 (patch) | |
tree | 201406beed10d9999bcc927e7a1c0ef7b80cf6c3 | |
parent | Add volume fixing daemon/worker mode (diff) | |
download | pavucontrol-slx-166631c896ca1afe0be38e6a4920ca8434c6e9c2.tar.gz pavucontrol-slx-166631c896ca1afe0be38e6a4920ca8434c6e9c2.tar.xz pavucontrol-slx-166631c896ca1afe0be38e6a4920ca8434c6e9c2.zip |
Turn deprecated-declarations into warning
-rw-r--r-- | CMakeLists.txt | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 0a4d476..e473cce 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -6,6 +6,9 @@ cmake_minimum_required(VERSION 3.10.0 FATAL_ERROR) # versions. project(pavucontrol-qt) +SET( CMAKE_CXX_FLAGS_DEBUG "-O0 -g -Wall -Wextra -pedantic" ) +SET( CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11 -Wno-multichar -Wno-error=deprecated-declarations" ) + list(APPEND CMAKE_MODULE_PATH "${CMAKE_CURRENT_SOURCE_DIR}/cmake") set(CMAKE_INCLUDE_CURRENT_DIR ON) |