summaryrefslogtreecommitdiffstats
path: root/Tests/Module/FindDependency/CMakeLists.txt
diff options
context:
space:
mode:
authorStephen Kelly <steveire@gmail.com>2014-02-26 20:30:18 (GMT)
committerStephen Kelly <steveire@gmail.com>2014-02-26 21:21:03 (GMT)
commit0bba365ff5423fc51d574d17b7934e3a0148ac2e (patch)
tree34258bc38cdf5bf6e805f735e445f7318af5b848 /Tests/Module/FindDependency/CMakeLists.txt
parent6e6fbb0e436889c93bb64930fda51a1ef32326ae (diff)
downloadCMake-0bba365ff5423fc51d574d17b7934e3a0148ac2e.zip
CMake-0bba365ff5423fc51d574d17b7934e3a0148ac2e.tar.gz
CMake-0bba365ff5423fc51d574d17b7934e3a0148ac2e.tar.bz2
Add test for find_dependency macro.
Diffstat (limited to 'Tests/Module/FindDependency/CMakeLists.txt')
-rw-r--r--Tests/Module/FindDependency/CMakeLists.txt10
1 files changed, 10 insertions, 0 deletions
diff --git a/Tests/Module/FindDependency/CMakeLists.txt b/Tests/Module/FindDependency/CMakeLists.txt
new file mode 100644
index 0000000..b13f48a
--- /dev/null
+++ b/Tests/Module/FindDependency/CMakeLists.txt
@@ -0,0 +1,10 @@
+
+cmake_minimum_required(VERSION 3.0)
+project(FindDependency)
+
+set(CMAKE_PREFIX_PATH "${CMAKE_CURRENT_SOURCE_DIR}/packages")
+
+find_package(Pack1 REQUIRED)
+
+add_executable(FindDependency main.cpp)
+target_link_libraries(FindDependency Pack1::Lib)