-
Notifications
You must be signed in to change notification settings - Fork 212
Open
Description
When building target cpm-update-package-lock with boost as dependency like this:
...
CPMAddPackage(
NAME Boost
VERSION 1.84.0
URL https://github.com/boostorg/boost/releases/download/boost-1.85.0/boost-1.85.0.tar.xz
OPTIONS
"BOOST_ENABLE_CMAKE ON"
"BOOST_INCLUDE_LIBRARIES beast\\\;uuid"
)
...I get the following package lock file:
# CPM Package Lock
# This file should be committed to version control
# Boost
CPMDeclarePackage(Boost
NAME Boost
VERSION 1.84.0
URL
"https://github.com/boostorg/boost/releases/download/boost-1.85.0/boost-1.85.0.tar.xz"
OPTIONS
"BOOST_ENABLE_CMAKE ON"
"BOOST_INCLUDE_LIBRARIES beast"
"uuid"
)Which looks wrong regarding "uuid" component. Indeed, if I try using Boost::uuid in my target_link_libraries, it fails finding uuid whereas Boost::beast is OK.
Moreover, when changing the package lock file to:
# CPM Package Lock
# This file should be committed to version control
# Boost
CPMDeclarePackage(Boost
NAME Boost
VERSION 1.84.0
URL
"https://github.com/boostorg/boost/releases/download/boost-1.85.0/boost-1.85.0.tar.xz"
OPTIONS
"BOOST_ENABLE_CMAKE ON"
"BOOST_INCLUDE_LIBRARIES beast\\\;uuid"
)I still get the error finding Boost::uuid while if not making use of package lock file, all is fine...
Thanks for your help
Metadata
Metadata
Assignees
Labels
No labels