summaryrefslogtreecommitdiffstats
path: root/examples/CMakeLists.txt
diff options
context:
space:
mode:
Diffstat (limited to 'examples/CMakeLists.txt')
-rw-r--r--examples/CMakeLists.txt9
1 files changed, 6 insertions, 3 deletions
diff --git a/examples/CMakeLists.txt b/examples/CMakeLists.txt
index b6336c3c..d0d05fa5 100644
--- a/examples/CMakeLists.txt
+++ b/examples/CMakeLists.txt
@@ -66,19 +66,22 @@ endif()
add_executable (dbt_scanner00 direct_bt_scanner00/dbt_scanner00.cpp)
set_target_properties(dbt_scanner00
PROPERTIES
- CXX_STANDARD 11
+ CXX_STANDARD 17
+ CXX_STANDARD_REQUIRED ON
COMPILE_FLAGS "-Wall -Wextra -Werror")
add_executable (dbt_scanner01 direct_bt_scanner01/dbt_scanner01.cpp)
set_target_properties(dbt_scanner01
PROPERTIES
- CXX_STANDARD 11
+ CXX_STANDARD 17
+ CXX_STANDARD_REQUIRED ON
COMPILE_FLAGS "-Wall -Wextra -Werror")
add_executable (dbt_scanner10 direct_bt_scanner10/dbt_scanner10.cpp)
set_target_properties(dbt_scanner10
PROPERTIES
- CXX_STANDARD 11
+ CXX_STANDARD 17
+ CXX_STANDARD_REQUIRED ON
COMPILE_FLAGS "-Wall -Wextra -Werror")
target_link_libraries (dbt_scanner00 direct_bt)