Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -204,7 +204,7 @@ endif()
apply_libxml2_settings(cellml)

# Use target compile features to propagate features to consuming projects.
target_compile_features(cellml PUBLIC cxx_std_17)
target_compile_features(cellml PUBLIC cxx_std_20)

set_target_properties(cellml PROPERTIES
CXX_VISIBILITY_PRESET hidden
Expand All @@ -229,7 +229,7 @@ set(DEBUG_HEADER_FILES

add_library(cellml_debug_utilities STATIC ${DEBUG_SOURCE_FILES} ${DEBUG_HEADER_FILES})

target_compile_features(cellml_debug_utilities PUBLIC cxx_std_17)
target_compile_features(cellml_debug_utilities PUBLIC cxx_std_20)

target_include_directories(cellml_debug_utilities
PUBLIC
Expand Down
2 changes: 1 addition & 1 deletion src/bindings/javascript/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ target_link_libraries(javascript-bindings PUBLIC cellml)
# I want to add '-fwasm-exceptions' to the COMPILE_FLAGS but Node doesn't support
# this yet. This is a reminder to enable it when Node does support exceptions.
set_target_properties(javascript-bindings PROPERTIES
CXX_STANDARD 11
CXX_STANDARD 20
CXX_STANDARD_REQUIRED ON
CXX_VISIBILITY_PRESET hidden
VISIBILITY_INLINES_HIDDEN 0
Expand Down
2 changes: 1 addition & 1 deletion tests/api_headers/api_header_test.in.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ add_executable(${CURRENT_TEST} ${TEST_SRC})
target_link_libraries(${CURRENT_TEST} cellml gtest_main)

set_target_properties(${CURRENT_TEST} PROPERTIES
CXX_STANDARD 11
CXX_STANDARD 20
CXX_STANDARD_REQUIRED ON
FOLDER tests)

Expand Down
Loading