Open CBlackSun opened 1 month ago
I can't reproduce this issue in my side with the latest vcpkg, my test env as below:
Ubuntu 23.10
GNU 13.2.0
Installing 7/7 boost-cobalt:x64-linux@1.85.0#2...
Building boost-cobalt:x64-linux@1.85.0#2...
-- Downloading https://github.com/boostorg/cobalt/archive/boost-1.85.0.tar.gz -> boostorg-cobalt-boost-1.85.0.tar.gz...
-- Extracting source /mnt/cheney/vcpkg/downloads/boostorg-cobalt-boost-1.85.0.tar.gz
-- Using source at /mnt/cheney/vcpkg/buildtrees/boost-cobalt/src/ost-1.85.0-74ba267639.clean
-- Configuring x64-linux
-- Building x64-linux-dbg
-- Building x64-linux-rel
-- Installing: /mnt/cheney/vcpkg/packages/boost-cobalt_x64-linux/share/boost-cobalt/copyright
-- Performing post-build validation
Stored binaries in 1 destinations in 259 ms.
Elapsed time to handle boost-cobalt:x64-linux: 7.7 s
boost-cobalt:x64-linux package ABI: 04d69951b0c0853790e52e71c692d185d3e99bc36bb08adf147f007745b253c6
Total install time: 15 s
The package boost-cobalt is compatible with built-in CMake targets of FindBoost.cmake:
find_package(Boost REQUIRED COMPONENTS cobalt)
target_link_libraries(main PRIVATE Boost::cobalt)
or the generated cmake configs via:
find_package(boost_cobalt REQUIRED CONFIG)
target_link_libraries(main PRIVATE Boost::cobalt)
I have the same problem. but my computer is windows11 and compiler is msbuild 16.4.0.56107.
same with wsl2 windows 11
Fails when compiler capabilites are insufficient. The config log has this or similar:
-- Boost.Cobalt: not building, can't include <coroutine>.
Cf. https://github.com/boostorg/cobalt/blob/develop/cmake/CheckRequirements.cmake
This is an automated message. Per our repo policy, stale issues get closed if there has been no activity in the past 28 days. The issue will be automatically closed in 14 days. If you wish to keep this issue open, please add a new comment.
Package: boost-cobalt:x64-linux@1.85.0#2
Host Environment
To Reproduce
vcpkg install boost
Failure logs
/home/gk/vcpkg/buildtrees/boost-cobalt/install-x64-linux-dbg-err.log
``` ninja: error: unknown target 'install' ```/home/gk/vcpkg/buildtrees/boost-cobalt/install-x64-linux-dbg-out.log
``` Change Dir: '/home/gk/vcpkg/buildtrees/boost-cobalt/x64-linux-dbg' Run Build Command(s): /home/gk/vcpkg/downloads/tools/ninja/1.10.2-linux/ninja -v -v -j23 install ```