Skip to content

Commit 6af5129

Browse files
committed
build(cmake): set c++20 standard
1 parent 9512f7a commit 6af5129

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

CMakeLists.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -244,6 +244,8 @@ endif()
244244

245245
add_library(Anvil STATIC ${SRC_LIST})
246246

247+
target_compile_features(Anvil PRIVATE cxx_std_20)
248+
247249
target_include_directories(Anvil PUBLIC "${Anvil_BINARY_DIR}/include"
248250
"${Anvil_SOURCE_DIR}"
249251
"${Anvil_SOURCE_DIR}/deps"

0 commit comments

Comments
 (0)