Skip to content

Commit

Permalink
bitpit: bump C++ requested standard version to C++17
Browse files Browse the repository at this point in the history
  • Loading branch information
andrea-iob committed Mar 18, 2024
1 parent b82a6fa commit fc7ba1e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -369,8 +369,8 @@ set(BITPIT_LIBRARY ${PROJECT_NAME} CACHE INTERNAL "bitpit library name" FORCE)

add_library(${BITPIT_LIBRARY})

target_compile_features(${BITPIT_LIBRARY} PUBLIC cxx_std_11)
set_target_properties(${BITPIT_LIBRARY} PROPERTIES CXX_STANDARD 11)
target_compile_features(${BITPIT_LIBRARY} PUBLIC cxx_std_17)
set_target_properties(${BITPIT_LIBRARY} PROPERTIES CXX_STANDARD 17)
set_target_properties(${BITPIT_LIBRARY} PROPERTIES CXX_STANDARD_REQUIRED ON)

if (BITPIT_ENABLE_MPI)
Expand Down

0 comments on commit fc7ba1e

Please sign in to comment.