summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.github/workflows/build_and_test.yml2
-rw-r--r--source/test/programs/CMakeLists.txt1
2 files changed, 2 insertions, 1 deletions
diff --git a/.github/workflows/build_and_test.yml b/.github/workflows/build_and_test.yml
index 6bf6fdc..6f29517 100644
--- a/.github/workflows/build_and_test.yml
+++ b/.github/workflows/build_and_test.yml
@@ -98,7 +98,7 @@ jobs:
with:
cmake-version: 3.18
- - name: Build with GCC
+ - name: Build
if: runner.os != 'Windows'
run: |
cmake -D CMAKE_BUILD_TYPE=$BUILD_TYPE -B build -S .
diff --git a/source/test/programs/CMakeLists.txt b/source/test/programs/CMakeLists.txt
index e9f8856..46bc8e9 100644
--- a/source/test/programs/CMakeLists.txt
+++ b/source/test/programs/CMakeLists.txt
@@ -20,6 +20,7 @@ if(KIT_ENABLE_TESTING)
TIMEOUT "30")
add_executable(cpp_example cpp_example.cpp)
+ target_compile_features(cpp_example PRIVATE cxx_std_20)
target_link_libraries(cpp_example ${KIT_TEST_LIBRARY})
add_test(
NAME cpp_example_test