summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/DependencyProviders/CMakeLists.txt
diff options
context:
space:
mode:
authorCraig Scott <craig.scott@crascit.com>2022-05-18 13:29:21 (GMT)
committerCraig Scott <craig.scott@crascit.com>2022-05-24 22:46:18 (GMT)
commit2aa83fa15b01941f0267e20a1a4e29793651fefd (patch)
tree7cd1ba4d72b087094815716e53f8a90fee035205 /Tests/RunCMake/DependencyProviders/CMakeLists.txt
parent8a28368feb938f301604c24c0294e2a25749cc77 (diff)
downloadCMake-2aa83fa15b01941f0267e20a1a4e29793651fefd.zip
CMake-2aa83fa15b01941f0267e20a1a4e29793651fefd.tar.gz
CMake-2aa83fa15b01941f0267e20a1a4e29793651fefd.tar.bz2
Dependency providers: Add find_package and FetchContent support
Fixes: #22619
Diffstat (limited to 'Tests/RunCMake/DependencyProviders/CMakeLists.txt')
-rw-r--r--Tests/RunCMake/DependencyProviders/CMakeLists.txt13
1 files changed, 13 insertions, 0 deletions
diff --git a/Tests/RunCMake/DependencyProviders/CMakeLists.txt b/Tests/RunCMake/DependencyProviders/CMakeLists.txt
new file mode 100644
index 0000000..3552604
--- /dev/null
+++ b/Tests/RunCMake/DependencyProviders/CMakeLists.txt
@@ -0,0 +1,13 @@
+cmake_minimum_required(VERSION 3.23...3.24)
+
+if(DEFINED include_before_project)
+ include("${include_before_project}")
+endif()
+
+project(${RunCMake_TEST} NONE)
+
+if(DEFINED include_after_project)
+ include("${include_after_project}")
+endif()
+
+include(${RunCMake_TEST}.cmake OPTIONAL)