From c73d5fe85fdacf1e493bdf42036fae8d6e339399 Mon Sep 17 00:00:00 2001 From: Jason Turner Date: Tue, 19 Mar 2024 16:48:27 -0600 Subject: [PATCH] Fix handling of standard for demo library --- src/sample_library/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/sample_library/CMakeLists.txt b/src/sample_library/CMakeLists.txt index b75fe637..cfe2f2b3 100644 --- a/src/sample_library/CMakeLists.txt +++ b/src/sample_library/CMakeLists.txt @@ -12,7 +12,7 @@ target_link_libraries(sample_library PRIVATE myproject_options myproject_warning target_include_directories(sample_library ${WARNING_GUARD} PUBLIC $ $) -target_compile_features(sample_library PUBLIC cxx_std_20) +target_compile_features(sample_library PUBLIC cxx_std_${CMAKE_CXX_STANDARD}) set_target_properties( sample_library