diff options
author | Brad King <brad.king@kitware.com> | 2024-01-18 13:56:14 (GMT) |
---|---|---|
committer | Kitware Robot <kwrobot@kitware.com> | 2024-01-18 13:56:22 (GMT) |
commit | 2bb5ad396baacc3c0ab8e673b2342180541ae30a (patch) | |
tree | 146d06df8d1c4090c79932a4ef4eddf5b0db5217 /Modules | |
parent | 2debd9dd4ec71c38f07671ba73893f22c7899d27 (diff) | |
parent | 4ecfd1a7dcc937df0f7c01fbbe5c01ac18f49c43 (diff) | |
download | CMake-2bb5ad396baacc3c0ab8e673b2342180541ae30a.zip CMake-2bb5ad396baacc3c0ab8e673b2342180541ae30a.tar.gz CMake-2bb5ad396baacc3c0ab8e673b2342180541ae30a.tar.bz2 |
Merge topic 'FindPackageMessage-strip-spaces'
4ecfd1a7dc FindPackageMessage: Remove extra whitespace from messages
Acked-by: Kitware Robot <kwrobot@kitware.com>
Acked-by: buildbot <buildbot@kitware.com>
Merge-request: !9156
Diffstat (limited to 'Modules')
-rw-r--r-- | Modules/FindPackageMessage.cmake | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Modules/FindPackageMessage.cmake b/Modules/FindPackageMessage.cmake index 0628b98..7efbe18 100644 --- a/Modules/FindPackageMessage.cmake +++ b/Modules/FindPackageMessage.cmake @@ -37,6 +37,7 @@ function(find_package_message pkg msg details) set(DETAILS_VAR FIND_PACKAGE_MESSAGE_DETAILS_${pkg}) if(NOT "${details}" STREQUAL "${${DETAILS_VAR}}") # The message has not yet been printed. + string(STRIP "${msg}" msg) message(STATUS "${msg}") # Save the find details in the cache to avoid printing the same |