diff options
author | Brad King <brad.king@kitware.com> | 2017-09-29 14:05:50 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2017-09-29 14:10:01 (GMT) |
commit | c044b9ae8421cae4ee91399dabee31aa75f80b1c (patch) | |
tree | bd7bbe85d4a7c14359414864f4dc999311285d81 /Modules/FindBoost.cmake | |
parent | 6bced4bf76e33b5c80a9a821d99ac933afa6ac03 (diff) | |
download | CMake-c044b9ae8421cae4ee91399dabee31aa75f80b1c.zip CMake-c044b9ae8421cae4ee91399dabee31aa75f80b1c.tar.gz CMake-c044b9ae8421cae4ee91399dabee31aa75f80b1c.tar.bz2 |
FindBoost: Improve messages when a Boost CMake package is found
Add a test for this case to verify the messages. This test will also be
valuable to cover this code path in which we've had several regressions
recently.
Diffstat (limited to 'Modules/FindBoost.cmake')
-rw-r--r-- | Modules/FindBoost.cmake | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/Modules/FindBoost.cmake b/Modules/FindBoost.cmake index 6d1514d..88d14ab 100644 --- a/Modules/FindBoost.cmake +++ b/Modules/FindBoost.cmake @@ -245,10 +245,9 @@ if (NOT Boost_NO_BOOST_CMAKE) # If we found boost-cmake, then we're done. Print out what we found. # Otherwise let the rest of the module try to find it. if (Boost_FOUND) - message("Boost ${Boost_FIND_VERSION} found.") + message(STATUS "Boost ${Boost_FIND_VERSION} found.") if (Boost_FIND_COMPONENTS) - message("Found Boost components:") - message(" ${Boost_FIND_COMPONENTS}") + message(STATUS "Found Boost components:\n ${Boost_FIND_COMPONENTS}") endif() # Restore project's policies cmake_policy(POP) |