summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/DependencyProviders/ProviderFirst.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'Tests/RunCMake/DependencyProviders/ProviderFirst.cmake')
-rw-r--r--Tests/RunCMake/DependencyProviders/ProviderFirst.cmake8
1 files changed, 8 insertions, 0 deletions
diff --git a/Tests/RunCMake/DependencyProviders/ProviderFirst.cmake b/Tests/RunCMake/DependencyProviders/ProviderFirst.cmake
new file mode 100644
index 0000000..b27c841
--- /dev/null
+++ b/Tests/RunCMake/DependencyProviders/ProviderFirst.cmake
@@ -0,0 +1,8 @@
+include(FetchContent)
+FetchContent_Declare(SomeDep
+ SOURCE_DIR ${CMAKE_CURRENT_LIST_DIR}
+ SOURCE_SUBDIR DoesNotExist
+ FIND_PACKAGE_ARGS NO_DEFAULT_PATH COMPONENTS abc
+)
+FetchContent_MakeAvailable(SomeDep)
+message(STATUS "FetchContent_MakeAvailable() succeeded")