mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-28 11:21:12 +08:00
22 lines
690 B
Diff
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")
|