summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2020-10-20 00:00:13 +0200
committerSven Gothel <[email protected]>2020-10-20 00:00:13 +0200
commitc6abde738ad261ce2d56e19d0ad838c25b430b7d (patch)
treeaa8881d73a7440a1ddbb875ce8a66a68427b4f67 /src
parentcb85af91738bbe5c3922f68ffa98978611e05804 (diff)
cmake: Drop all sub-folder CXX settings. Use root CMakeLists.txt global settings for all, avoiding confusion.
Diffstat (limited to 'src')
-rw-r--r--src/direct_bt/CMakeLists.txt3
-rw-r--r--src/tinyb/CMakeLists.txt1
2 files changed, 0 insertions, 4 deletions
diff --git a/src/direct_bt/CMakeLists.txt b/src/direct_bt/CMakeLists.txt
index c6e333de..83c14753 100644
--- a/src/direct_bt/CMakeLists.txt
+++ b/src/direct_bt/CMakeLists.txt
@@ -49,9 +49,6 @@ set_target_properties(
PROPERTIES
SOVERSION ${tinyb_VERSION_MAJOR}
VERSION ${tinyb_VERSION_STRING}
- CXX_STANDARD 17
- CXX_STANDARD_REQUIRED ON
- COMPILE_FLAGS "-Wall -Wextra -Werror"
)
install (DIRECTORY ${PROJECT_SOURCE_DIR}/api/direct_bt/ DESTINATION include/direct_bt)
diff --git a/src/tinyb/CMakeLists.txt b/src/tinyb/CMakeLists.txt
index b725bb3b..6dbdb91f 100644
--- a/src/tinyb/CMakeLists.txt
+++ b/src/tinyb/CMakeLists.txt
@@ -66,7 +66,6 @@ set_target_properties(
PROPERTIES
SOVERSION ${tinyb_VERSION_MAJOR}
VERSION ${tinyb_VERSION_STRING}
- CXX_STANDARD 11
)
install (FILES ${tinyb_LIB_GLOB_HEADERS} DESTINATION include/)
install (DIRECTORY ${PROJECT_SOURCE_DIR}/api/tinyb/ DESTINATION include/tinyb)