You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Since zstd 1.5.2#1, the zstd port has removed the renaming of CMake config files #22822. This change causes tiff[zstd] to fail if zstd is not added as an override with pinned to zstd 1.5.2#1. I see this issue only on Linux though.
The error is
CMake Error at vcpkg/scripts/buildsystems/vcpkg.cmake:843 (_find_package):
[cmake] Could not find a package configuration file provided by "ZSTD" with any of
[cmake] the following names:
[cmake]
[cmake] ZSTDConfig.cmake
[cmake] zstd-config.cmake
[cmake]
[cmake] Add the installation prefix of "ZSTD" to CMAKE_PREFIX_PATH or set
[cmake] "ZSTD_DIR" to a directory containing one of the above files. If "ZSTD"
[cmake] provides a separate development package or SDK, be sure it has been
[cmake] installed.
[cmake] Call Stack (most recent call first):
[cmake] vcpkg_installed/x64-linux-<>/share/tiff/vcpkg-cmake-wrapper.cmake:33 (find_package)
[cmake] vcpkg/scripts/buildsystems/vcpkg.cmake:797 (include)
[cmake] CMakeLists.txt:50 (find_package)
[cmake]
[cmake]
[cmake] -- Configuring incomplete, errors occurred!
The fix is very easy. find_package(ZSTD ...) should be replaced with a lowercase find_package(zstd ...).
Since zstd 1.5.2#1, the zstd port has removed the renaming of CMake config files #22822. This change causes tiff[zstd] to fail if zstd is not added as an override with pinned to zstd 1.5.2#1. I see this issue only on Linux though.
The error is
The fix is very easy.
find_package(ZSTD ...)
should be replaced with a lowercasefind_package(zstd ...)
.vcpkg/ports/tiff/vcpkg-cmake-wrapper.cmake.in
Line 33 in 6adca01
The text was updated successfully, but these errors were encountered: