googletest/googletest/cmake/Config.cmake.in
Stefano Soffia aff0379441 Install CMake export files
Rework of the closed pull request #768
2018-08-22 17:27:11 +02:00

10 lines
284 B
CMake

@PACKAGE_INIT@
include(CMakeFindDependencyMacro)
if (@GTEST_HAS_PTHREAD@)
set(THREADS_PREFER_PTHREAD_FLAG @THREADS_PREFER_PTHREAD_FLAG@)
find_dependency(Threads)
endif()
include("${CMAKE_CURRENT_LIST_DIR}/@targets_export_name@.cmake")
check_required_components("@project_name@")