1
0
forked from boostorg/mp11

Update BoostMessage.cmake

This commit is contained in:
Peter Dimov
2019-12-21 21:49:03 +02:00
parent 2afc07f189
commit 2deeac36b4

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()