Bug ID | 1191822 |
---|---|
Summary | libboost_json1_77_0-devel should require libboost_container1_77_0-devel |
Classification | openSUSE |
Product | openSUSE Tumbleweed |
Version | Current |
Hardware | Other |
OS | Other |
Status | NEW |
Severity | Normal |
Priority | P5 - None |
Component | Development |
Assignee | screening-team-bugs@suse.de |
Reporter | saba@sabanet.at |
QA Contact | qa-bugs@suse.de |
Found By | --- |
Blocker | --- |
My CMake based c++ project requires liboost-json, so I installed libboost_json1_77_0-devel and added find_package(Boost REQUIRED COMPONENTS json) to my CMakeLists.txt. But I get the following error: CMake Error at /usr/lib64/cmake/boost_json-1.77.0/boost_json-config.cmake:92 (find_package): Could not find a package configuration file provided by "boost_container" (requested version 1.77.0) with any of the following names: boost_containerConfig.cmake boost_container-config.cmake Add the installation prefix of "boost_container" to CMAKE_PREFIX_PATH or set "boost_container_DIR" to a directory containing one of the above files. If "boost_container" provides a separate development package or SDK, be sure it has been installed. Call Stack (most recent call first): /usr/lib64/cmake/Boost-1.77.0/BoostConfig.cmake:141 (find_package) /usr/lib64/cmake/Boost-1.77.0/BoostConfig.cmake:258 (boost_find_component) /usr/share/cmake/Modules/FindBoost.cmake:594 (find_package) src/CMakeLists.txt:26 (find_package) Installing libboost_container1_77_0-devel fixes this, so it should be made a requirement for the libboost_json devel package.