Skip to content

Commit

Permalink
switch cmake to C++ 20
Browse files Browse the repository at this point in the history
  • Loading branch information
tmcg0 committed Dec 4, 2023
1 parent 6e3bd6f commit ed6057d
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 @@ -9,7 +9,7 @@ set (BIOSLAM_VERSION_STRING "${BIOSLAM_VERSION_MAJOR}.${BIOSLAM_VERSION_MINOR}.$

project(bioslam VERSION ${BIOSLAM_VERSION_STRING} LANGUAGES CXX C) # added C because some HDF5 tests were .c

set(CMAKE_CXX_STANDARD 11)
set(CMAKE_CXX_STANDARD 20)
set(CMAKE_CXX_STANDARD_REQUIRED ON)
set(CMAKE_CXX_EXTENSIONS OFF)

Expand Down Expand Up @@ -153,7 +153,7 @@ message(STATUS "Libs that we have for bioslam are ${BIOSLAMLIBS} ")
message("bioslam sources are ${SOURCES_BIOSLAM}")
add_library(bioslam SHARED ${SOURCES_BIOSLAM})
set_target_properties(bioslam PROPERTIES
CXX_STANDARD 11
CXX_STANDARD 20
CXX_STANDARD_REQUIRED ON
CXX_EXTENSIONS OFF
)
Expand Down

0 comments on commit ed6057d

Please sign in to comment.