diff --git a/external/external_build.cmake b/external/external_build.cmake index ebb122f..bd4b18b 100644 --- a/external/external_build.cmake +++ b/external/external_build.cmake @@ -255,8 +255,8 @@ ELSE (INTERNAL_BOOST) set(Boost_VERSION ${TMP_MAJOR}.${TMP_MINOR}.${TMP_PATCHLEVEL}) ENDIF() if (${Boost_VERSION} VERSION_GREATER_EQUAL 1.70.0) - set(Boost_DEP Boost::headers) - set(Boost_TARGET Boost::headers) + set(Boost_DEP Boost::boost) + set(Boost_TARGET Boost::boost) endif() endif() if (NOT Boost_FOUND)