mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-06 04:49:06 +08:00
761c81d433
* [boost] update generator script for boost 1.76 * [boost] update ports to 1.76.0 (run generator) * [boost] fix windows build? * [quantlib] update and fix mac build * [symengine] update and fix build * [avro-cpp] update to latest master and fix windows build * [folly] update to 2021.05.31.00 * [fbthrift, fizz, wangle] update to v2021.05.31.00 and fix build * [proxygen] update to version 2021.05.31.00 * [fizz, proxygen, fbthrift] fix sodium target * [proxygen] also works on macOS * [quantlib] use fix from upstream to fix mac build * [symengine] minimize patch file and fix deprecation warning * [folly,proxygen,wangle,fizz,fbthrift] update to 2021.06.14.00 * [fbthrift] remove unnecessary dependency rsocket I couldn't find any information that this dependency exists. The term is used in the code, but not in the context of a dependency * [fizz,fbthrift] fix zlib dependency * [fbthrift] pass required flex executable to cmake configure * add version files * [boost] generate-ports.ps1: Apply code review * [boost] changes from new version of generate-ports script * update version files * [boost] generate-ports.ps1: Apply code review
17 lines
555 B
Diff
17 lines
555 B
Diff
diff --git a/build/fbcode_builder/CMake/FindSodium.cmake b/build/fbcode_builder/CMake/FindSodium.cmake
|
|
index c664ccbe3..3c3f1245c 100644
|
|
--- a/build/fbcode_builder/CMake/FindSodium.cmake
|
|
+++ b/build/fbcode_builder/CMake/FindSodium.cmake
|
|
@@ -254,7 +254,10 @@ if(sodium_USE_STATIC_LIBS)
|
|
else()
|
|
set(_LIB_TYPE SHARED)
|
|
endif()
|
|
-add_library(sodium ${_LIB_TYPE} IMPORTED)
|
|
+
|
|
+if(NOT TARGET sodium)
|
|
+ add_library(sodium ${_LIB_TYPE} IMPORTED)
|
|
+endif()
|
|
|
|
set_target_properties(sodium PROPERTIES
|
|
INTERFACE_INCLUDE_DIRECTORIES "${sodium_INCLUDE_DIR}"
|