aboutsummaryrefslogtreecommitdiff
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authorSzczepan Zalega <szczepan@nitrokey.com>2020-09-19 12:53:07 +0200
committerSzczepan Zalega <szczepan@nitrokey.com>2020-09-19 12:53:07 +0200
commit0a1eb42d8c54bada5ce60e77654f70c32bbc77a2 (patch)
treec8587652f8224618c957f4f101fd33792dbd0af0 /CMakeLists.txt
parentabbb06833c93f12c3964642c6bacd5041a508b34 (diff)
downloadlibnitrokey-0a1eb42d8c54bada5ce60e77654f70c32bbc77a2.tar.gz
libnitrokey-0a1eb42d8c54bada5ce60e77654f70c32bbc77a2.tar.bz2
Ignore depreciation warnings from internal use
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 5590835..db8d2fb 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -97,7 +97,7 @@ set_target_properties(nitrokey PROPERTIES
OPTION(ERROR_ON_WARNING "Stop compilation on warning found (not supported for MSVC)" OFF)
if (NOT MSVC)
- set(COMPILE_FLAGS "-Wall -Wno-unused-function -Wcast-qual -Woverloaded-virtual -Wsign-compare -Wformat -Wformat-security -Wno-deprecated")
+ set(COMPILE_FLAGS "-Wall -Wno-unused-function -Wcast-qual -Woverloaded-virtual -Wsign-compare -Wformat -Wformat-security")
IF(NOT APPLE)
if (ERROR_ON_WARNING)
set(COMPILE_FLAGS "${COMPILE_FLAGS} -Werror")