diff options
author | Sven Gothel <[email protected]> | 2020-09-12 15:20:14 +0200 |
---|---|---|
committer | Sven Gothel <[email protected]> | 2020-09-12 15:20:14 +0200 |
commit | 1422a7f0f3c846f71af1eb0ac610a3a9950f9ac2 (patch) | |
tree | ace1bcc6cc814c3494202f0e057631cd92d3316c /test/ieee11073 | |
parent | 03496e50475f834bba564a7e59288652384ca952 (diff) |
CMake Build: Use C++17 (C++20 not yet supported on all target platforms, i.e. Debian 10 Buster with GCC 8.3)
GCC 10.1 mostly covers C++20 and is default on Debian 11 Bullseye, we will move there when established.
For now let's use C++17 at least, especially since GCC C++ ABI fixes a few code generation issues
and we intend to further simplify our C++ codebase.
Diffstat (limited to 'test/ieee11073')
-rw-r--r-- | test/ieee11073/CMakeLists.txt | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/test/ieee11073/CMakeLists.txt b/test/ieee11073/CMakeLists.txt index 1f144641..3b8f9b38 100644 --- a/test/ieee11073/CMakeLists.txt +++ b/test/ieee11073/CMakeLists.txt @@ -7,7 +7,9 @@ add_executable (test_datatypes01 test_datatypes01.cpp) set_target_properties(test_datatypes01 PROPERTIES - CXX_STANDARD 11) + CXX_STANDARD 17 + CXX_STANDARD_REQUIRED ON +) target_link_libraries (test_datatypes01 direct_bt) |