mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-25 20:57:51 +08:00
5 lines
174 B
CMake
5 lines
174 B
CMake
|
if(BSONCXX_POLY_USE_STD AND NOT CMAKE_CXX_STANDARD VERSION_GREATER_EQUAL "17")
|
||
|
message(WARNING "Enabling C++17 compiler support.")
|
||
|
set(CMAKE_CXX_STANDARD 17)
|
||
|
endif()
|