diff options
author | Yves Frederix <yves.frederix@dentsplysirona.com> | 2017-09-05 19:15:35 (GMT) |
---|---|---|
committer | Yves Frederix <yves.frederix@dentsplysirona.com> | 2017-09-05 19:20:00 (GMT) |
commit | 0019bfebc949a052d6ef2ac3d0764af307419baa (patch) | |
tree | 6e1251530079ff490b9c9f8f8aeeae5077b013db /Tests/RunCMake/FPHSA/FindPseudoNoVersionVar.cmake | |
parent | 8184433428859b64a7e13568a242b40445dce111 (diff) | |
download | CMake-0019bfebc949a052d6ef2ac3d0764af307419baa.zip CMake-0019bfebc949a052d6ef2ac3d0764af307419baa.tar.gz CMake-0019bfebc949a052d6ef2ac3d0764af307419baa.tar.bz2 |
FPHSA: Add (failing) unit test in case a cache variable VERSION is present
Diffstat (limited to 'Tests/RunCMake/FPHSA/FindPseudoNoVersionVar.cmake')
-rw-r--r-- | Tests/RunCMake/FPHSA/FindPseudoNoVersionVar.cmake | 6 |
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) |