You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@ujos Hello! Thank you for reporting. As we are using Ubuntu to generate Linux packages, we may result in different behavior, depending the distro. I'll try to reproduce your error, thank you for giving full details.
Like other header-only libs, there is no dedicated target in FindBoost.cmake, it's part of Boost::headers. For dl, indeed it's a dependency on Linux: boostorg/dll#67
Description
I'm not sure if this issue has to be reported to Conan Center. Please create corresponding bug to the Boost team if needed.
The problem is if I use
boost::dll
from the conan repo, I get a link time error:The reason is that Conan recipe for Boost does not create a
dll
CMake target that depends ondl
library.To workaround the issue user must manually add
dl
library to their CMake target.Package and Environment Details
Conan profile
[settings]
os=Linux
os_build=Linux
arch=x86_64
arch_build=x86_64
compiler=gcc
compiler.version=7.3
compiler.libcxx=libstdc++
[options]
[build_requires]
[buildenv]
CC=/root/bin/GCC-7.3/bin/gcc
CXX=/root/bin/GCC-7.3/bin/g++
Steps to reproduce
Logs
Click to expand log
The text was updated successfully, but these errors were encountered: