[Bug 1948552] Re: libboost program_options cmake file causes error when used
Dimitri John Ledkov
1948552 at bugs.launchpad.net
Tue Nov 23 16:15:30 UTC 2021
I'm not sure why we still have boost1.71 in jammy still, as everything
should have moved to boost1.74.
boost1.71 is still the default one in focal.
** Also affects: cmake (Ubuntu)
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to cmake in Ubuntu.
https://bugs.launchpad.net/bugs/1948552
Title:
libboost program_options cmake file causes error when used
Status in boost1.71 package in Ubuntu:
Incomplete
Status in cmake package in Ubuntu:
Incomplete
Bug description:
Main CMakeLists.txt contains: find_package( Boost COMPONENTS
program_options )
A sub project CMakeLists contains: ${Boost_LIBRARIES}
The error message:
CMake Error in sub-project/CMakeLists.txt:
Imported target "Boost::program_options" includes non-existent path "/include" in its INTERFACE_INCLUDE_DIRECTORIES.
I can "fix" the error by creating a symbolic link from /include to
/usr/include. But maybe a better fix would be to have the cmake file
use /usr/include.`
Ubuntu 20.04.2 LTS
libboost-program-options1.71-dev:
Installed: 1.71.0-6ubuntu6
Candidate: 1.71.0-6ubuntu6
Version table:
*** 1.71.0-6ubuntu6 500
500 http://archive.ubuntu.com/ubuntu focal/main amd64 Packages
100 /var/lib/dpkg/status
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/boost1.71/+bug/1948552/+subscriptions
More information about the foundations-bugs
mailing list