aboutsummaryrefslogtreecommitdiffstats
path: root/CMake/Catch2Config.cmake.in
diff options
context:
space:
mode:
Diffstat (limited to 'CMake/Catch2Config.cmake.in')
-rw-r--r--CMake/Catch2Config.cmake.in10
1 files changed, 10 insertions, 0 deletions
diff --git a/CMake/Catch2Config.cmake.in b/CMake/Catch2Config.cmake.in
new file mode 100644
index 0000000..c485219
--- /dev/null
+++ b/CMake/Catch2Config.cmake.in
@@ -0,0 +1,10 @@
+@PACKAGE_INIT@
+
+
+# Avoid repeatedly including the targets
+if(NOT TARGET Catch2::Catch2)
+ # Provide path for scripts
+ list(APPEND CMAKE_MODULE_PATH "${CMAKE_CURRENT_LIST_DIR}")
+
+ include(${CMAKE_CURRENT_LIST_DIR}/Catch2Targets.cmake)
+endif()