From c6644709665e55a393d206f899f1cd2d96e8861f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mateusz=20=C5=81oskot?= Date: Tue, 30 Oct 2018 11:03:44 +0100 Subject: FindBoost: Output Boost_LIB_PREFIX if Boost_DEBUG=ON requested Output Boost_NAMESPACE too. --- Modules/FindBoost.cmake | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/Modules/FindBoost.cmake b/Modules/FindBoost.cmake index 501929a..3722ffb 100644 --- a/Modules/FindBoost.cmake +++ b/Modules/FindBoost.cmake @@ -1402,6 +1402,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. # ------------------------------------------------------------------------ -- cgit v0.12