From 8658acfde6064c5d27b6e6850ec801f1c7fe1dca Mon Sep 17 00:00:00 2001 From: Guilhem Lavaux Date: Tue, 22 Sep 2020 15:27:12 +0300 Subject: [PATCH] Use Boost::boost which has better cmake compatiblity --- external/external_build.cmake | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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)