summaryrefslogtreecommitdiffstats
path: root/Modules/FindBoost.cmake
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2018-10-31 13:32:54 (GMT)
committerKitware Robot <kwrobot@kitware.com>2018-10-31 13:33:08 (GMT)
commitcaaa51b9a12c3366582cd948a1ae1b9529d20fe3 (patch)
tree29d1bf8b7b27989ebd1dbd4fcfa0c4fbd1867a5b /Modules/FindBoost.cmake
parent5dc4bd1c90448eb4ce4f20a63ce706ce8114f29d (diff)
parentc6644709665e55a393d206f899f1cd2d96e8861f (diff)
downloadCMake-caaa51b9a12c3366582cd948a1ae1b9529d20fe3.zip
CMake-caaa51b9a12c3366582cd948a1ae1b9529d20fe3.tar.gz
CMake-caaa51b9a12c3366582cd948a1ae1b9529d20fe3.tar.bz2
Merge topic 'FindBoost-debug-lib-prefix'
c664470966 FindBoost: Output Boost_LIB_PREFIX if Boost_DEBUG=ON requested Acked-by: Kitware Robot <kwrobot@kitware.com> Reviewed-by: Roger Leigh <rleigh@codelibre.net> Merge-request: !2548
Diffstat (limited to 'Modules/FindBoost.cmake')
-rw-r--r--Modules/FindBoost.cmake7
1 files changed, 7 insertions, 0 deletions
diff --git a/Modules/FindBoost.cmake b/Modules/FindBoost.cmake
index 50152b6..4cae8cb 100644
--- a/Modules/FindBoost.cmake
+++ b/Modules/FindBoost.cmake
@@ -1408,6 +1408,13 @@ if ( NOT Boost_NAMESPACE )
set(Boost_NAMESPACE "boost")
endif()
+if(Boost_DEBUG)
+ message(STATUS "[ ${CMAKE_CURRENT_LIST_FILE}:${CMAKE_CURRENT_LIST_LINE} ] "
+ "Boost_LIB_PREFIX = ${Boost_LIB_PREFIX}")
+ message(STATUS "[ ${CMAKE_CURRENT_LIST_FILE}:${CMAKE_CURRENT_LIST_LINE} ] "
+ "Boost_NAMESPACE = ${Boost_NAMESPACE}")
+endif()
+
# ------------------------------------------------------------------------
# Suffix initialization and compiler suffix detection.
# ------------------------------------------------------------------------