Merge branch 'feature/fphsa-variables' into develop

This commit is contained in:
Peter Dimov
2019-04-19 06:24:06 +03:00

View File

@@ -106,6 +106,10 @@ macro(boost_find_dependency dep req)
endif()
find_package(boost_${dep} ${Boost_VERSION} EXACT CONFIG ${_BOOST_REQUIRED} ${_BOOST_QUIET} HINTS ${_BOOST_CMAKEDIR})
# FindPackageHandleStandardArgs expects <package>_<component>_FOUND
set(Boost_${dep}_FOUND ${boost_${dep}_FOUND})
# FindBoost sets Boost_<COMPONENT>_FOUND
string(TOUPPER ${dep} _BOOST_DEP)
set(Boost_${_BOOST_DEP}_FOUND ${boost_${dep}_FOUND})