vcpkg/ports/mongo-cxx-driver/cmake-project-include.cmake
Kai Pastor e819a7d0ae
[mongo-cxx-driver] Update ()
* Update and cleanup

* Fix C++14 guard for MSVC

* Force mongo-cxx-driver feature boost in CI
2022-11-21 09:19:31 -08:00

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()