diff options
author | Mateusz Łoskot <mateusz@loskot.net> | 2018-10-30 10:03:44 (GMT) |
---|---|---|
committer | Mateusz Łoskot <mateusz@loskot.net> | 2018-10-30 10:07:48 (GMT) |
commit | c6644709665e55a393d206f899f1cd2d96e8861f (patch) | |
tree | 113b9b48f3d331b8f3095d5913a09964b86010c6 | |
parent | 9330afea04d8e5c8f5c867af43a95fef0ad08d35 (diff) | |
download | CMake-c6644709665e55a393d206f899f1cd2d96e8861f.zip CMake-c6644709665e55a393d206f899f1cd2d96e8861f.tar.gz CMake-c6644709665e55a393d206f899f1cd2d96e8861f.tar.bz2 |
FindBoost: Output Boost_LIB_PREFIX if Boost_DEBUG=ON requested
Output Boost_NAMESPACE too.
-rw-r--r-- | Modules/FindBoost.cmake | 7 |
1 files changed, 7 insertions, 0 deletions
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. # ------------------------------------------------------------------------ |