Skip to content

Commit 3ddfa64

Browse files
ci: update
1 parent a6e8443 commit 3ddfa64

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

tests/CMakeLists.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@ set(TARGET_NAME ctnp-tests)
77

88
list(APPEND CMAKE_MODULE_PATH "${CMAKE_CURRENT_SOURCE_DIR}/cmake")
99

10+
set(CMAKE_CXX_STANDARD ${CTNP_CXX_STANDARD})
11+
1012
add_executable(${TARGET_NAME}
1113
"Algorithm.cpp"
1214
"Lexer.cpp"

tests/cmake/FindCatch2.cmake

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@ include(get_cpm)
77

88
# fixes reporting in clion
99
set(CATCH_CONFIG_CONSOLE_WIDTH 800 CACHE STRING "")
10-
set(CMAKE_CXX_STANDARD 20)
1110

1211
CPMAddPackage("gh:catchorg/Catch2@3.8.1")
1312

0 commit comments

Comments
 (0)