From: vsr Date: Mon, 1 Mar 2021 14:01:58 +0000 (+0300) Subject: Correctly detect components on newer versions of BOOST X-Git-Tag: V9_7_0a1~9 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=def06c327632ca6cd3754f11e558b1bcbb542294;p=tools%2Fconfiguration.git Correctly detect components on newer versions of BOOST --- diff --git a/cmake/FindSalomeBoost.cmake b/cmake/FindSalomeBoost.cmake index cf9e71c..656025d 100644 --- a/cmake/FindSalomeBoost.cmake +++ b/cmake/FindSalomeBoost.cmake @@ -27,7 +27,8 @@ SET(Boost_USE_STATIC_LIBS OFF) SET(Boost_USE_MULTITHREADED ON) SET(Boost_USE_STATIC_RUNTIME OFF) SET(Boost_NO_BOOST_CMAKE ON) -SET(SalomeBoost_FIND_COMPONENTS filesystem regex system thread date_time chrono serialization) +SET(SalomeBoost_COMPONENTS filesystem regex system thread date_time chrono serialization) +SET(SalomeBoost_FIND_COMPONENTS ${SalomeBoost_COMPONENTS}) IF(WIN32) # Under windows, one extra sub-directory in the boost installation hierarchy: