Issue verbose message when a library has no variants at all

This commit is contained in:
Peter Dimov
2020-01-09 03:46:50 +02:00
parent 671e801b47
commit 672db3ceb3
+4
View File
@@ -671,6 +671,10 @@ rule generate-cmake-config- ( target : sources * : properties * )
"unset(_BOOST_INCLUDEDIR)"
"unset(_BOOST_CMAKEDIR)"
""
"if(NOT __boost_variants AND (Boost_VERBOSE OR Boost_DEBUG))"
" message(STATUS \" Library has no variants and is considered not found\")"
"endif()"
""
"get_target_property(__boost_configs $(ltarget) IMPORTED_CONFIGURATIONS)"
""
"if(NOT __boost_configs)"