2022-02-01 03:27:37 +08:00
|
|
|
diff --git a/fizz/CMakeLists.txt b/fizz/CMakeLists.txt
|
2022-02-10 05:05:38 +08:00
|
|
|
index bb3e15e5..80c5051e 100644
|
2022-02-01 03:27:37 +08:00
|
|
|
--- a/fizz/CMakeLists.txt
|
|
|
|
+++ b/fizz/CMakeLists.txt
|
2022-02-10 05:05:38 +08:00
|
|
|
@@ -64,7 +64,7 @@ endif()
|
|
|
|
|
2022-02-01 03:27:37 +08:00
|
|
|
include(CheckAtomic)
|
2022-02-10 05:05:38 +08:00
|
|
|
|
2022-02-01 03:27:37 +08:00
|
|
|
-find_package(Sodium REQUIRED)
|
|
|
|
+find_package(unofficial-sodium CONFIG REQUIRED)
|
2022-02-10 05:05:38 +08:00
|
|
|
|
2022-02-01 03:27:37 +08:00
|
|
|
SET(FIZZ_SHINY_DEPENDENCIES "")
|
|
|
|
SET(FIZZ_LINK_LIBRARIES "")
|
2022-02-10 05:05:38 +08:00
|
|
|
@@ -255,7 +255,7 @@ target_link_libraries(fizz
|
2022-02-01 03:27:37 +08:00
|
|
|
PUBLIC
|
|
|
|
${FOLLY_LIBRARIES}
|
|
|
|
${OPENSSL_LIBRARIES}
|
|
|
|
- sodium
|
|
|
|
+ unofficial-sodium::sodium
|
|
|
|
Threads::Threads
|
|
|
|
ZLIB::ZLIB
|
2022-02-10 05:05:38 +08:00
|
|
|
${ZSTD_LIBRARY}
|
2022-02-01 03:27:37 +08:00
|
|
|
diff --git a/fizz/cmake/fizz-config.cmake.in b/fizz/cmake/fizz-config.cmake.in
|
2022-02-10 05:05:38 +08:00
|
|
|
index 679b0e61..b28750fa 100644
|
2022-02-01 03:27:37 +08:00
|
|
|
--- a/fizz/cmake/fizz-config.cmake.in
|
|
|
|
+++ b/fizz/cmake/fizz-config.cmake.in
|
|
|
|
@@ -26,7 +26,7 @@ endif()
|
|
|
|
set(FIZZ_LIBRARIES fizz::fizz)
|
2022-02-10 05:05:38 +08:00
|
|
|
|
2022-02-01 03:27:37 +08:00
|
|
|
include(CMakeFindDependencyMacro)
|
|
|
|
-find_dependency(Sodium)
|
|
|
|
+find_dependency(unofficial-sodium CONFIG REQUIRED)
|
|
|
|
find_dependency(folly CONFIG)
|
|
|
|
find_dependency(ZLIB)
|
2022-02-10 05:05:38 +08:00
|
|
|
|