summaryrefslogtreecommitdiffstats
path: root/googletest/cmake/Config.cmake.in
diff options
context:
space:
mode:
Diffstat (limited to 'googletest/cmake/Config.cmake.in')
-rw-r--r--googletest/cmake/Config.cmake.in9
1 files changed, 9 insertions, 0 deletions
diff --git a/googletest/cmake/Config.cmake.in b/googletest/cmake/Config.cmake.in
new file mode 100644
index 0000000..12be449
--- /dev/null
+++ b/googletest/cmake/Config.cmake.in
@@ -0,0 +1,9 @@
+@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@")