diff options
author | Konstantin Käfer <mail@kkaefer.com> | 2017-05-18 14:30:20 +0200 |
---|---|---|
committer | Konstantin Käfer <mail@kkaefer.com> | 2017-05-18 16:57:12 +0200 |
commit | eae2c715f1ead523de2984cde8708627bfc3f180 (patch) | |
tree | 615be92eaa9a651343792b23c881f9afaa09512a /CMakeLists.txt | |
parent | 5d7e54a815715458ee021ba4c4f5f3135876919b (diff) | |
download | qtlocation-mapboxgl-eae2c715f1ead523de2984cde8708627bfc3f180.tar.gz |
[core] add error for non-virtual destructor deletes + add virtual dtors
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index f8757d0c88..f0c7a2ac57 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -66,7 +66,7 @@ endif(WITH_COVERAGE) set(CMAKE_CONFIGURATION_TYPES Debug Release) -set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++14 -ftemplate-depth=1024 -Wall -Wextra -Wshadow -Werror -Wno-variadic-macros -Wno-unknown-pragmas") +set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++14 -ftemplate-depth=1024 -Wall -Wextra -Wshadow -Wnon-virtual-dtor -Werror -Wno-variadic-macros -Wno-unknown-pragmas") if(APPLE) # -Wno-error=unused-command-line-argument is required due to https://llvm.org/bugs/show_bug.cgi?id=7798 set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wno-error=unused-command-line-argument") |