vcpkg/ports/orc/fix-linux-error.patch
JonLiu1993 8510361424
[orc] update to 1.7.6 (#26603)
* [orc] update to 1.7.6

* update version

* Fix-linux error

* update version
2022-08-31 13:59:46 -07:00

22 lines
690 B
Diff

diff --git a/cmake_modules/ThirdpartyToolchain.cmake b/cmake_modules/ThirdpartyToolchain.cmake
index ad52cf2..ed7ff28 100644
--- a/cmake_modules/ThirdpartyToolchain.cmake
+++ b/cmake_modules/ThirdpartyToolchain.cmake
@@ -145,7 +145,7 @@ endif ()
# Zstd
if (1)
- find_package (ZSTD CONFIG REQUIRED)
+ find_package (zstd CONFIG REQUIRED)
set(ZSTD_VENDORED FALSE)
else ()
set(ZSTD_HOME "${THIRDPARTY_DIR}/zstd_ep-install")
@@ -338,6 +338,7 @@ endif ()
if (1)
find_package (Protobuf CONFIG REQUIRED)
+ include_directories(${Protobuf_INCLUDE_DIRS})
set(PROTOBUF_VENDORED FALSE)
else ()
set(PROTOBUF_PREFIX "${THIRDPARTY_DIR}/protobuf_ep-install")