Closed
Description
Hi guys,
I'm vcpkg maintainer.
Recently we received an issue about using cmake 3.22.2 which installed by pip (microsoft/vcpkg#22947):
Using the following cmake code has wrong results:
message(STATUS "CMake ${CMAKE_VERSION}")
set(file /home/cuhk/vcpkg/packages/expat_x64-linux/debug/lib/pkgconfig/expat.pc)
message(STATUS "file: ${file}")
cmake_path(GET file PARENT_PATH pkg_lib_search_path)
message(STATUS "pkg_lib_search_path: ${pkg_lib_search_path}")
Expected:
pkg_lib_search_path: /home/cuhk/vcpkg/packages/expat_x64-linux/debug/lib/pkgconfig
Acturally:
pkg_lib_search_path: /home/cuhk/vcpkg/packages/expat_x64-linux/debug/lib/pkgconfig/expat.pc
Then we report this to cmake side: https://gitlab.kitware.com/cmake/cmake/-/issues/23187#note_1141682.
After discussions with the cmake maintainers, we believe that the cmake 3.22.2 version in pip is different from the official 3.22.2 version, and the modification of this bug may not be incorporated in pip side.
So can anyone take a look at this issue?
Thanks.
Jack
Metadata
Metadata
Assignees
Labels
No labels