mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-25 16:31:13 +00:00
1874a7cfb0
Fix zstd linking again. Signed-off-by: Rosen Penev <rosenp@gmail.com>
12 lines
410 B
Diff
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)
|