summaryrefslogtreecommitdiffstats
path: root/Tests/Module/FindDependency/CMakeLists.txt
diff options
context:
space:
mode:
Diffstat (limited to 'Tests/Module/FindDependency/CMakeLists.txt')
-rw-r--r--Tests/Module/FindDependency/CMakeLists.txt11
1 files changed, 11 insertions, 0 deletions
diff --git a/Tests/Module/FindDependency/CMakeLists.txt b/Tests/Module/FindDependency/CMakeLists.txt
new file mode 100644
index 0000000..dcb998a
--- /dev/null
+++ b/Tests/Module/FindDependency/CMakeLists.txt
@@ -0,0 +1,11 @@
+
+cmake_minimum_required(VERSION 3.0)
+project(FindDependency)
+
+set(CMAKE_PREFIX_PATH "${CMAKE_CURRENT_SOURCE_DIR}/packages")
+
+find_package(Pack1 REQUIRED)
+find_package(Pack4 4.3 EXACT REQUIRED)
+
+add_executable(FindDependency main.cpp)
+target_link_libraries(FindDependency Pack1::Lib Pack4::Lib)