Skip to content

Commit

Permalink
Fix: Compression type 2 not supported
Browse files Browse the repository at this point in the history
  • Loading branch information
PHILO-HE committed May 28, 2024
1 parent 10cb875 commit ab02c45
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions dev/vcpkg/ports/folly/fix-deps.patch
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ index 0b96f0a10..1559f9f70 100644
context
filesystem
diff --git a/CMake/folly-deps.cmake b/CMake/folly-deps.cmake
index 41a513a30..32c8826ae 100644
index 41a513a30..d75908f77 100644
--- a/CMake/folly-deps.cmake
+++ b/CMake/folly-deps.cmake
@@ -35,7 +35,7 @@ else()
Expand Down Expand Up @@ -113,7 +113,7 @@ index 41a513a30..32c8826ae 100644
endif()

find_package(OpenSSL 1.1.1 MODULE REQUIRED)
@@ -103,25 +103,29 @@ if (LIBLZMA_FOUND)
@@ -103,25 +103,30 @@ if (LIBLZMA_FOUND)
list(APPEND FOLLY_LINK_LIBRARIES ${LIBLZMA_LIBRARIES})
endif()

Expand All @@ -125,6 +125,7 @@ index 41a513a30..32c8826ae 100644
+if(NOT CMAKE_DISABLE_FIND_PACKAGE_LZ4)
+ find_package(lz4 CONFIG)
+ if(TARGET lz4::lz4)
+ set(FOLLY_HAVE_LIBLZ4 1)
+ list(APPEND FOLLY_LINK_LIBRARIES lz4::lz4)
+ endif()
endif()
Expand Down Expand Up @@ -158,7 +159,7 @@ index 41a513a30..32c8826ae 100644
endif()

find_package(LibDwarf)
@@ -132,17 +136,24 @@ find_package(Libiberty)
@@ -132,17 +137,24 @@ find_package(Libiberty)
list(APPEND FOLLY_LINK_LIBRARIES ${LIBIBERTY_LIBRARIES})
list(APPEND FOLLY_INCLUDE_DIRECTORIES ${LIBIBERTY_INCLUDE_DIRS})

Expand Down Expand Up @@ -192,7 +193,7 @@ index 41a513a30..32c8826ae 100644

list(APPEND FOLLY_LINK_LIBRARIES ${CMAKE_DL_LIBS})
list(APPEND CMAKE_REQUIRED_LIBRARIES ${CMAKE_DL_LIBS})
@@ -153,10 +164,10 @@ if (PYTHON_EXTENSIONS)
@@ -153,10 +165,10 @@ if (PYTHON_EXTENSIONS)
endif ()

find_package(LibUnwind)
Expand All @@ -205,7 +206,7 @@ index 41a513a30..32c8826ae 100644
endif()
if (CMAKE_SYSTEM_NAME MATCHES "FreeBSD")
list(APPEND FOLLY_LINK_LIBRARIES "execinfo")
@@ -298,11 +309,7 @@ endif()
@@ -298,11 +310,7 @@ endif()

add_library(folly_deps INTERFACE)

Expand Down

0 comments on commit ab02c45

Please sign in to comment.