summaryrefslogtreecommitdiffstats
path: root/Tests/FindBoost
diff options
context:
space:
mode:
authorDennis Klein <d.klein@gsi.de>2019-05-03 20:06:03 (GMT)
committerDennis Klein <d.klein@gsi.de>2019-05-07 14:08:55 (GMT)
commita22dd5d8be7336152e5cd99b364265e7afcec083 (patch)
treeaa77c6d8cabf7a97c81c11a8700868fd8b846cb7 /Tests/FindBoost
parenta3159775954772e25f3785775b89e0147382c939 (diff)
downloadCMake-a22dd5d8be7336152e5cd99b364265e7afcec083.zip
CMake-a22dd5d8be7336152e5cd99b364265e7afcec083.tar.gz
CMake-a22dd5d8be7336152e5cd99b364265e7afcec083.tar.bz2
FindBoost: Modernize module mode with FPHSA
Diffstat (limited to 'Tests/FindBoost')
-rw-r--r--Tests/FindBoost/CMakeLists.txt3
1 files changed, 2 insertions, 1 deletions
diff --git a/Tests/FindBoost/CMakeLists.txt b/Tests/FindBoost/CMakeLists.txt
index 58d795b..8489d85 100644
--- a/Tests/FindBoost/CMakeLists.txt
+++ b/Tests/FindBoost/CMakeLists.txt
@@ -21,7 +21,8 @@ add_test(NAME FindBoost.TestFail COMMAND
)
set_tests_properties(FindBoost.TestFail PROPERTIES
- PASS_REGULAR_EXPRESSION "Could not find the following Boost libraries:[ \t\n]+boost_foobar")
+ WILL_FAIL ON
+ PASS_REGULAR_EXPRESSION "Could NOT find Boost (missing: foobar)")
add_test(NAME FindBoost.TestHeaders COMMAND
${CMAKE_CTEST_COMMAND} -C $<CONFIGURATION>