mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-28 05:27:51 +08:00
7146001b34
* fix fizz libsodium dependency * [fizz] fix libsodium dependency * update version file * [fizz] : fix dependency * revert vcpkg.json Co-authored-by: Jonliu1993 <13720414433@163.com>
36 lines
945 B
Diff
36 lines
945 B
Diff
diff --git a/fizz/CMakeLists.txt b/fizz/CMakeLists.txt
|
|
index 471d61a..b3cfed2 100644
|
|
--- a/fizz/CMakeLists.txt
|
|
+++ b/fizz/CMakeLists.txt
|
|
@@ -61,7 +61,7 @@ endif()
|
|
|
|
include(CheckAtomic)
|
|
|
|
-find_package(Sodium REQUIRED)
|
|
+find_package(unofficial-sodium CONFIG REQUIRED)
|
|
|
|
SET(FIZZ_SHINY_DEPENDENCIES "")
|
|
SET(FIZZ_LINK_LIBRARIES "")
|
|
@@ -246,7 +246,7 @@ target_link_libraries(fizz
|
|
PUBLIC
|
|
${FOLLY_LIBRARIES}
|
|
${OPENSSL_LIBRARIES}
|
|
- sodium
|
|
+ unofficial-sodium::sodium
|
|
Threads::Threads
|
|
ZLIB::ZLIB
|
|
PRIVATE
|
|
diff --git a/fizz/cmake/fizz-config.cmake.in b/fizz/cmake/fizz-config.cmake.in
|
|
index 679b0e6..b28750f 100644
|
|
--- a/fizz/cmake/fizz-config.cmake.in
|
|
+++ b/fizz/cmake/fizz-config.cmake.in
|
|
@@ -26,7 +26,7 @@ endif()
|
|
set(FIZZ_LIBRARIES fizz::fizz)
|
|
|
|
include(CMakeFindDependencyMacro)
|
|
-find_dependency(Sodium)
|
|
+find_dependency(unofficial-sodium CONFIG REQUIRED)
|
|
find_dependency(folly CONFIG)
|
|
find_dependency(ZLIB)
|
|
|