Print an informative message when -DFORCE_CUSTOM_BOOST=ON

This commit is contained in:
Roberto Di Remigio 2015-09-28 16:05:16 +02:00
parent cb42ed37a2
commit 481ac3ab93

View File

@ -78,6 +78,7 @@ set(Boost_DETAILED_FAILURE_MESSAGE OFF)
set(BUILD_CUSTOM_BOOST FALSE)
if(FORCE_CUSTOM_BOOST)
set(BUILD_CUSTOM_BOOST TRUE)
message(STATUS "Force automatic build of Boost")
# Just to avoid unused variable warning from CMake
set(BOOST_INCLUDEDIR "")
set(BOOST_LIBRARYDIR "")