vcpkg/ports/mongo-cxx-driver/libmongocxx-config.cmake
Kai Pastor e819a7d0ae
[mongo-cxx-driver] Update (#27565)
* 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

10 lines
593 B
CMake

include(CMakeFindDependencyMacro)
find_dependency(libmongocxx-static ${${CMAKE_FIND_PACKAGE_NAME}_FIND_VERSION} CONFIG)
set(LIBMONGOCXX_VERSION_MAJOR "${LIBMONGOCXX_STATIC_VERSION_MAJOR}")
set(LIBMONGOCXX_VERSION_MINOR "${LIBMONGOCXX_STATIC_VERSION_MINOR}")
set(LIBMONGOCXX_VERSION_PATCH "${LIBMONGOCXX_STATIC_VERSION_PATCH}")
set(LIBMONGOCXX_PACKAGE_VERSION "${LIBMONGOCXX_STATIC_PACKAGE_VERSION}")
set(LIBMONGOCXX_DEFINITIONS "${LIBMONGOCXX_STATIC_DEFINITIONS}")
set(LIBMONGOCXX_INCLUDE_DIRS "${LIBMONGOCXX_STATIC_INCLUDE_DIRS}")
set(LIBMONGOCXX_LIBRARIES "${LIBMONGOCXX_STATIC_LIBRARIES}")