Skip to content

Commit

Permalink
Non-standalone build fix for macOS.
Browse files Browse the repository at this point in the history
  • Loading branch information
clangen committed Feb 19, 2022
1 parent 20b3cee commit 79f1fa9
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -58,9 +58,10 @@ if (${BUILD_STANDALONE} MATCHES "true")
find_vendor_library(LIBSSL ssl)
find_vendor_library(LIBCRYPTO crypto)
else()
find_library(LIBCURL NAMES curl)
find_library(LIBSSL NAMES ssl)
find_library(LIBCRYPTO NAMES crypto)
# need VENDOR_LINK_DIRECTORIES here for Darwin.
find_library(LIBCURL NAMES curl PATHS ${VENDOR_LINK_DIRECTORIES})
find_library(LIBSSL NAMES ssl PATHS ${VENDOR_LINK_DIRECTORIES})
find_library(LIBCRYPTO NAMES crypto PATHS ${VENDOR_LINK_DIRECTORIES})
endif()

find_library(LIBZ NAMES z)
Expand Down

0 comments on commit 79f1fa9

Please sign in to comment.