summaryrefslogtreecommitdiff
path: root/Tests/FindPackageTest/FindSomePackage.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'Tests/FindPackageTest/FindSomePackage.cmake')
-rw-r--r--Tests/FindPackageTest/FindSomePackage.cmake6
1 files changed, 6 insertions, 0 deletions
diff --git a/Tests/FindPackageTest/FindSomePackage.cmake b/Tests/FindPackageTest/FindSomePackage.cmake
new file mode 100644
index 000000000..83d1d0e4d
--- /dev/null
+++ b/Tests/FindPackageTest/FindSomePackage.cmake
@@ -0,0 +1,6 @@
+set(SOP_FOO TRUE)
+
+include(FindPackageHandleStandardArgs)
+
+find_package_handle_standard_args(SomePackage REQUIRED_VARS SOP_FOO
+ FOUND_VAR SomePackage_FOUND )