Add support for newer boost

This commit is contained in:
LAVAUX Guilhem 2020-04-14 17:46:14 +02:00
parent e4924917b9
commit 3773c1ab43
2 changed files with 2 additions and 2 deletions

View file

@ -252,7 +252,7 @@ ELSE (INTERNAL_BOOST)
endif()
if (${Boost_VERSION} VERSION_GREATER_EQUAL 1.70.0)
set(Boost_DEP Boost::headers)
set(Boost_TARGET Boost::headers PARENT_SCOPE)
set(Boost_TARGET Boost::headers)
endif()
endif (INTERNAL_BOOST)
mark_as_advanced(Boost_INCLUDE_DIRS Boost_LIBRARIES)