find_package(cpp-ipc CONFIG REQUIRED)找不到
Opened this issue · 4 comments
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的问题,可以更新了试试