]> SALOME platform Git repositories - tools/configuration.git/commitdiff
Salome HOME
Correctly detect components on newer versions of BOOST
authorvsr <vsr@opencascade.com>
Mon, 1 Mar 2021 14:01:58 +0000 (17:01 +0300)
committervsr <vsr@opencascade.com>
Mon, 1 Mar 2021 14:01:58 +0000 (17:01 +0300)
cmake/FindSalomeBoost.cmake

index cf9e71c619f2147d0a18271c88505eb558db54b7..656025d67d6a5637fe12e94206c253603b372b86 100644 (file)
@@ -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: