summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/FPHSA/FindBadFoundVar.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'Tests/RunCMake/FPHSA/FindBadFoundVar.cmake')
-rw-r--r--Tests/RunCMake/FPHSA/FindBadFoundVar.cmake6
1 files changed, 6 insertions, 0 deletions
diff --git a/Tests/RunCMake/FPHSA/FindBadFoundVar.cmake b/Tests/RunCMake/FPHSA/FindBadFoundVar.cmake
new file mode 100644
index 0000000..152df5c
--- /dev/null
+++ b/Tests/RunCMake/FPHSA/FindBadFoundVar.cmake
@@ -0,0 +1,6 @@
+set(BFV_FOO TRUE)
+
+include(FindPackageHandleStandardArgs)
+
+find_package_handle_standard_args(BadFoundVar REQUIRED_VARS BFV_FOO
+ FOUND_VAR badfoundvar_FOUND )