Host Environment
- OS: Windows 10
- Compiler: MSVC 19.28.29336
To Reproduce
Steps to reproduce the behavior:
./vcpkg install shapelib
CMakeLists.txt contains:
find_package(shp CONFIG REQUIRED)
...
target_link_libraries(main PRIVATE shp)
cmake .. -G "Visual Studio 16 2019" -A Win32 -DCMAKE_TOOLCHAIN_FILE=D:/dev/vcpkg/scripts/buildsystems/vcpkg.cmake
cmake --build . --config Debug
Failure logs
[cmake] -- Running vcpkg install
[cmake] Detecting compiler hash for triplet x86-windows...
[cmake] The following packages will be built and installed:
[cmake] shapelib[core]:x86-windows -> 1.5.0
[cmake] Using cached binary package: C:\Users\thoma\AppData\Local\vcpkg\archives\5c\5ceeff8b1e0eb4f21ff590067f4d350abef9709f.zip
[cmake] Starting package 1/1: shapelib:x86-windows
[cmake] Building package shapelib[core]:x86-windows...
[cmake] Building package shapelib[core]:x86-windows... done
[cmake] Installing package shapelib[core]:x86-windows...
[cmake] Installing package shapelib[core]:x86-windows... done
[cmake] Elapsed time for package shapelib:x86-windows: 279 ms
...
[cmake] CMake Error at external/vcpkg/scripts/buildsystems/vcpkg.cmake:650 (_find_package):
[cmake] Could not find a package configuration file provided by "shp" with any of
[cmake] the following names:
[cmake]
[cmake] shpConfig.cmake
[cmake] shp-config.cmake
[cmake]
[cmake] Add the installation prefix of "shp" to CMAKE_PREFIX_PATH or set "shp_DIR"
[cmake] to a directory containing one of the above files. If "shp" provides a
[cmake] separate development package or SDK, be sure it has been installed.
Host Environment
To Reproduce
Steps to reproduce the behavior:
./vcpkg install shapelibCMakeLists.txt contains:
cmake .. -G "Visual Studio 16 2019" -A Win32 -DCMAKE_TOOLCHAIN_FILE=D:/dev/vcpkg/scripts/buildsystems/vcpkg.cmakecmake --build . --config DebugFailure logs