find_package(cpp-ipc CONFIG REQUIRED)找不到
cmake vcpkg find_package(cpp-ipc CONFIG REQUIRED)报错无法找到包,请问是什么原因呢?谢谢
1> [CMake] Could not find a package configuration file provided by "cpp-ipc" with any 1> [CMake] of the following names: 1> [CMake] 1> [CMake] cpp-ipcConfig.cmake 1> [CMake] cpp-ipc-config.cmake 1> [CMake] 1> [CMake] Add the installation prefix of "cpp-ipc" to CMAKE_PREFIX_PATH or set 1> [CMake] "cpp-ipc_DIR" to a directory containing one of the above files. If 1> [CMake] "cpp-ipc" provides a separate development package or SDK, be sure it has 1> [CMake] been installed.
可能是cpp-ipc项目CMakeList.txt未导出targets导致。 你可以尝试先按照提示,将cpp-ipc的安装目录添加到CMAKE_PREFIX_PATH变量吗?
可能是cpp-ipc项目CMakeList.txt未导出targets导致。 你可以尝试先按照提示,将cpp-ipc的安装目录添加到CMAKE_PREFIX_PATH变量吗?
好的,我试试
vcpkg中的cpp-ipc已更新到最新版,修复了find_package的问题,可以更新了试试
好的,赞
| | 王玉松 | | @.*** | ---- 回复的原邮件 ---- | 发件人 | @.> | | 发送日期 | 2023年12月14日 18:58 | | 收件人 | @.> | | 抄送人 | Song @.> , @.> | | 主题 | Re: [mutouyun/cpp-ipc] find_package(cpp-ipc CONFIG REQUIRED)找不到 (Issue #110) |
vcpkg中的cpp-ipc已更新到最新版,修复了find_package的问题,可以更新了试试
— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: @.***>