summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/FPHSA/FindPseudoNoVersionVar.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'Tests/RunCMake/FPHSA/FindPseudoNoVersionVar.cmake')
-rw-r--r--Tests/RunCMake/FPHSA/FindPseudoNoVersionVar.cmake6
1 files changed, 6 insertions, 0 deletions
diff --git a/Tests/RunCMake/FPHSA/FindPseudoNoVersionVar.cmake b/Tests/RunCMake/FPHSA/FindPseudoNoVersionVar.cmake
new file mode 100644
index 0000000..d961c64
--- /dev/null
+++ b/Tests/RunCMake/FPHSA/FindPseudoNoVersionVar.cmake
@@ -0,0 +1,6 @@
+# pseudo find_module without specifying VERSION_VAR
+
+set(FOOBAR TRUE)
+
+include(FindPackageHandleStandardArgs)
+find_package_handle_standard_args(PseudoNoVersionVar REQUIRED_VARS FOOBAR)