vcpkg/ports/fizz/0001-fix-libsodium.patch
Thomas1664 77c11ffd59
[Folly, fizz, wangle, proxygen, fbthrift, mvfst] Update to latest version (#22967)
* Update folly

* Update wangle

* Update fizz

* Version

* Fix patch

* Fix patch

* version

* Fix error in rsocket

* Fix patch

* Fix patch

* version vor rsocket

* Update fbthrift

* fbthrift version

* Fix fbthrift

* Fix fbthreft version

* fbthrift: fix empty dir

* fbthrift: update version

* Update mvfst

* Update proxygen

* Update hashes

* update version

* remove unused patchfiles

* Fix deprecated cmake functions

* format and version

* version

* rsocket: fix version

* rsocket: update port version

* fix version

* fix version

* update version

* restore version

* update port version

* update version

* fix port version

* version

* remove v from version string

* version

* Add quotes

* version
2022-02-09 13:05:38 -08:00

36 lines
954 B
Diff

diff --git a/fizz/CMakeLists.txt b/fizz/CMakeLists.txt
index bb3e15e5..80c5051e 100644
--- a/fizz/CMakeLists.txt
+++ b/fizz/CMakeLists.txt
@@ -64,7 +64,7 @@ endif()
include(CheckAtomic)
-find_package(Sodium REQUIRED)
+find_package(unofficial-sodium CONFIG REQUIRED)
SET(FIZZ_SHINY_DEPENDENCIES "")
SET(FIZZ_LINK_LIBRARIES "")
@@ -255,7 +255,7 @@ target_link_libraries(fizz
PUBLIC
${FOLLY_LIBRARIES}
${OPENSSL_LIBRARIES}
- sodium
+ unofficial-sodium::sodium
Threads::Threads
ZLIB::ZLIB
${ZSTD_LIBRARY}
diff --git a/fizz/cmake/fizz-config.cmake.in b/fizz/cmake/fizz-config.cmake.in
index 679b0e61..b28750fa 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)