Merge branch 'develop' into use_auto_for_map_in_range_based_for_loop

release/4.3a0
zubingtan 2023-04-12 10:32:55 +08:00
commit 329370e86f
1 changed files with 1 additions and 1 deletions

View File

@ -150,7 +150,7 @@ if (NOT CMAKE_VERSION VERSION_LESS 3.8)
set(CMAKE_CXX_EXTENSIONS OFF) set(CMAKE_CXX_EXTENSIONS OFF)
if (MSVC) if (MSVC)
# NOTE(jlblanco): seems to be required in addition to the cxx_std_17 above? # NOTE(jlblanco): seems to be required in addition to the cxx_std_17 above?
list_append_cache(GTSAM_COMPILE_OPTIONS_PUBLIC /std:c++latest) list_append_cache(GTSAM_COMPILE_OPTIONS_PUBLIC /std:c++17)
endif() endif()
else() else()
# Old cmake versions: # Old cmake versions: