openwrt/tools/cmake/patches/150-zstd-libarchive.patch
Rosen Penev 1874a7cfb0 tools/cmake: update to 3.27.1
Fix zstd linking again.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2023-08-02 14:09:24 +02:00

12 lines
410 B
Diff

--- a/Utilities/cmlibarchive/CMakeLists.txt
+++ b/Utilities/cmlibarchive/CMakeLists.txt
@@ -636,7 +636,7 @@ IF(ENABLE_ZSTD)
SET(ZSTD_FIND_QUIETLY TRUE)
ENDIF (ZSTD_INCLUDE_DIR)
- IF(0) # CMake does not let pkg-config override its search paths.
+ IF(1) # CMake does not let pkg-config override its search paths.
IF(UNIX)
FIND_PACKAGE(PkgConfig QUIET)
PKG_SEARCH_MODULE(PC_ZSTD libzstd)