2
0
mirror of https://github.com/boostorg/cmake.git synced 2026-02-22 03:12:18 +00:00

Boost_DEBUG should also enable VERBOSE output

This commit is contained in:
Peter Dimov
2019-12-21 21:32:06 +02:00
parent d62699e2a3
commit db32ab1f85

View File

@@ -8,8 +8,16 @@ endif()
function(boost_message type)
if(type STREQUAL "VERBOSE" OR type STREQUAL "DEBUG")
if(Boost_${type})
if(type STREQUAL "VERBOSE")
if(Boost_VERBOSE OR Boost_DEBUG)
set(type STATUS)
elseif(CMAKE_VERSION VERSION_LESS 3.15)
return()
endif()
endif()
if(type STREQUAL "DEBUG")
if(Boost_DEBUG)
set(type STATUS)
elseif(CMAKE_VERSION VERSION_LESS 3.15)
return()