Skip to content

Commit

Permalink
[Config] Upgrade to C++20
Browse files Browse the repository at this point in the history
  • Loading branch information
alxbilger committed Nov 13, 2024
1 parent f9afdf6 commit f2d725c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Sofa/framework/Config/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -105,8 +105,8 @@ if((CMAKE_SYSTEM_NAME STREQUAL Windows) AND SOFA_USE_DEPENDENCY_PACK)
endif()

# Compile options
# Set C++17
target_compile_features(${PROJECT_NAME} PUBLIC cxx_std_17)
# Set C++20
target_compile_features(${PROJECT_NAME} PUBLIC cxx_std_20)

set(SOFACONFIG_COMPILE_OPTIONS_DEBUG "")
set(SOFACONFIG_COMPILE_OPTIONS_RELEASE "")
Expand Down

0 comments on commit f2d725c

Please sign in to comment.