include(CMakeFindDependencyMacro) find_dependency(libmongoc-static-1.0 ${${CMAKE_FIND_PACKAGE_NAME}_FIND_VERSION} CONFIG) set(MONGOC_DEFINITIONS "${MONGOC_STATIC_DEFINITIONS}") set(MONGOC_INCLUDE_DIRS "${MONGOC_STATIC_INCLUDE_DIRS}") set(MONGOC_LIBRARIES "${MONGOC_STATIC_LIBRARIES}")