-
Notifications
You must be signed in to change notification settings - Fork 5
Description
Arch Linux
$ pacman -Q | grep boost
boost 1.89.0-3
boost-libs 1.89.0-3
CMake Error at /usr/lib/cmake/Boost-1.89.0/BoostConfig.cmake:141 (find_package):
Could not find a package configuration file provided by "boost_system"
(requested version 1.89.0) with any of the following names:
boost_systemConfig.cmake
boost_system-config.cmake
Add the installation prefix of "boost_system" to CMAKE_PREFIX_PATH or set
"boost_system_DIR" to a directory containing one of the above files. If
"boost_system" provides a separate development package or SDK, be sure it
has been installed.
Call Stack (most recent call first):
/usr/lib/cmake/Boost-1.89.0/BoostConfig.cmake:262 (boost_find_component)
/usr/share/cmake/Modules/FindBoost.cmake:610 (find_package)
src/CMakeLists.txt:21 (find_package)
Because of
Switch Boost.System to header-only in b2
Boost 1.89 Release notes:
https://www.boost.org/releases/1.89.0/
System:
The stub compiled library has been removed; System has been header-only since release 1.69.
This may affect CMakeLists.txt files containing find_package(Boost COMPONENTS system ...). The easiest fix is to just remove system from the list of components as it's no longer required. If compatibility with Boost releases earlier than 1.69 is to be preserved, one can use find_package(Boost COMPONENTS ... OPTIONAL_COMPONENTS system).