change from /std:c++latest to /std:c++17 for Visual Studio

release/4.3a0
Varun Agrawal 2023-04-10 21:12:57 -04:00
parent 005c7d4e2d
commit 906b144580
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)
if (MSVC)
# 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()
else()
# Old cmake versions: