aboutsummaryrefslogtreecommitdiffstats
path: root/java/jni
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 /java/jni
parentcb85af91738bbe5c3922f68ffa98978611e05804 (diff)
cmake: Drop all sub-folder CXX settings. Use root CMakeLists.txt global settings for all, avoiding confusion.
Diffstat (limited to 'java/jni')
-rw-r--r--java/jni/direct_bt/CMakeLists.txt3
-rw-r--r--java/jni/tinyb/CMakeLists.txt2
2 files changed, 0 insertions, 5 deletions
diff --git a/java/jni/direct_bt/CMakeLists.txt b/java/jni/direct_bt/CMakeLists.txt
index b98bf943..26555591 100644
--- a/java/jni/direct_bt/CMakeLists.txt
+++ b/java/jni/direct_bt/CMakeLists.txt
@@ -47,9 +47,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(TARGETS javadirect_bt LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR})
diff --git a/java/jni/tinyb/CMakeLists.txt b/java/jni/tinyb/CMakeLists.txt
index d163386e..efdf9db4 100644
--- a/java/jni/tinyb/CMakeLists.txt
+++ b/java/jni/tinyb/CMakeLists.txt
@@ -48,8 +48,6 @@ set_target_properties(
PROPERTIES
SOVERSION ${tinyb_VERSION_MAJOR}
VERSION ${tinyb_VERSION_STRING}
- CXX_STANDARD 11
- COMPILE_FLAGS "-Wall -Wextra"
)
install(TARGETS javatinyb LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR})