-# Copyright (C) 2013-2020 CEA/DEN, EDF R&D, OPEN CASCADE
+# Copyright (C) 2013-2022 CEA/DEN, EDF R&D, OPEN CASCADE
#
# This library is free software; you can redistribute it and/or
# modify it under the terms of the GNU Lesser General Public
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: