diff options
author | Marc Chevrier <marc.chevrier@gmail.com> | 2019-09-27 10:20:15 (GMT) |
---|---|---|
committer | Marc Chevrier <marc.chevrier@gmail.com> | 2019-09-27 14:04:54 (GMT) |
commit | 60473cc660cc37c922b0ff93112deeb34d51f2ca (patch) | |
tree | 89c8f8e2bc482c7d0c5935e709e895013c2bc404 /Tests/RunCMake/FPHSA/custom_message_3.cmake | |
parent | 8c568722d79f9de0c03550981cbcb9453733a8bb (diff) | |
download | CMake-60473cc660cc37c922b0ff93112deeb34d51f2ca.zip CMake-60473cc660cc37c922b0ff93112deeb34d51f2ca.tar.gz CMake-60473cc660cc37c922b0ff93112deeb34d51f2ca.tar.bz2 |
FPHSA: add capability to specify message explaining reason of failure
Fixes: #19660
Diffstat (limited to 'Tests/RunCMake/FPHSA/custom_message_3.cmake')
-rw-r--r-- | Tests/RunCMake/FPHSA/custom_message_3.cmake | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/Tests/RunCMake/FPHSA/custom_message_3.cmake b/Tests/RunCMake/FPHSA/custom_message_3.cmake new file mode 100644 index 0000000..203e012 --- /dev/null +++ b/Tests/RunCMake/FPHSA/custom_message_3.cmake @@ -0,0 +1,5 @@ + +set (REASON_FAILURE_MESSAGE "Reason Failure") +set (CustomMessage_NOT_FOUND_MESSAGE "Not Found Message") + +find_package(CustomMessage 1.2 REQUIRED) |