Skip to content

Commit

Permalink
added check for msvc 1930.
Browse files Browse the repository at this point in the history
  • Loading branch information
klemens-morgenstern committed Oct 24, 2023
1 parent c0f70a0 commit 2ef7216
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,11 @@ if(NOT cxx_std_20 IN_LIST CMAKE_CXX_COMPILE_FEATURES)
return()
endif()

if(MSVC_VERSION AND MSVC_VERSION LESS 1930)
message(STATUS "Boost.Cobalt: not building, the lowest supported MSVC version is 1930. ${MSVC_VERSION} is not supported")
return()
endif()

option(BOOST_COBALT_USE_BOOST_CONTAINER "Boost.Cobalt: Use boost.container instead of std::pmr" ${BOOST_COBALT_SHOULD_USE_CONTAINER})


Expand Down

0 comments on commit 2ef7216

Please sign in to comment.