From def06c327632ca6cd3754f11e558b1bcbb542294 Mon Sep 17 00:00:00 2001 From: vsr Date: Mon, 1 Mar 2021 17:01:58 +0300 Subject: [PATCH] Correctly detect components on newer versions of BOOST --- cmake/FindSalomeBoost.cmake | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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: -- 2.30.2