Use Boost::boost which has better cmake compatiblity
This commit is contained in:
parent
7fce73ef6c
commit
8658acfde6
4
external/external_build.cmake
vendored
4
external/external_build.cmake
vendored
@ -255,8 +255,8 @@ ELSE (INTERNAL_BOOST)
|
|||||||
set(Boost_VERSION ${TMP_MAJOR}.${TMP_MINOR}.${TMP_PATCHLEVEL})
|
set(Boost_VERSION ${TMP_MAJOR}.${TMP_MINOR}.${TMP_PATCHLEVEL})
|
||||||
ENDIF()
|
ENDIF()
|
||||||
if (${Boost_VERSION} VERSION_GREATER_EQUAL 1.70.0)
|
if (${Boost_VERSION} VERSION_GREATER_EQUAL 1.70.0)
|
||||||
set(Boost_DEP Boost::headers)
|
set(Boost_DEP Boost::boost)
|
||||||
set(Boost_TARGET Boost::headers)
|
set(Boost_TARGET Boost::boost)
|
||||||
endif()
|
endif()
|
||||||
endif()
|
endif()
|
||||||
if (NOT Boost_FOUND)
|
if (NOT Boost_FOUND)
|
||||||
|
Loading…
Reference in New Issue
Block a user