From 636b63865d6cd24d10bb7109f9e72a457ef1458b Mon Sep 17 00:00:00 2001 From: Dawid Drozd Date: Mon, 4 Dec 2017 13:46:51 +0100 Subject: [PATCH] Fix compiler flags --- CMakeLists.txt | 3 +-- test/CMakeLists.txt | 3 +-- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index c2206ca..2cbabe7 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -22,10 +22,9 @@ TARGET_INCLUDE_DIRECTORIES(EventBus PUBLIC TARGET_COMPILE_OPTIONS(EventBus PRIVATE -Wall -pedantic - -Wno-unused-private-field -Wnon-virtual-dtor - -Wno-gnu -Werror + -Wno-error=deprecated-declarations ) SET_TARGET_PROPERTIES(EventBus PROPERTIES diff --git a/test/CMakeLists.txt b/test/CMakeLists.txt index f5bd033..bd8a3bc 100644 --- a/test/CMakeLists.txt +++ b/test/CMakeLists.txt @@ -13,10 +13,9 @@ SET_TARGET_PROPERTIES(EventBusTest PROPERTIES TARGET_COMPILE_OPTIONS(EventBusTest PUBLIC -Wall -pedantic - -Wno-unused-private-field -Wnon-virtual-dtor - -Wno-gnu -Werror + -Wno-error=deprecated-declarations ) SET(EVENTBUS_DEBUG_FLAGS