mirror of
https://git.eden-emu.dev/eden-emu/eden.git
synced 2026-10-01 14:59:13 +00:00
[cmake] fix OpenSSL not using <openssl/cert.h> when applicable because it tries to use the system one instead of being explicitly linked (#4053)
should fix hiccups with self-built OpenSSL Signed-off-by: lizzie <[email protected]> Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/4053 Reviewed-by: crueter <[email protected]> Reviewed-by: MaranBr <[email protected]>
This commit is contained in:
1 parent
efc7472330
commit
ce9c7c196d
2 files changed
+2
-1
No files matched your search
@@ -235,7 +235,7 @@ if (BOOST_NO_HEADERS)
|
||||
else()
|
||||
target_link_libraries(common PUBLIC Boost::headers)
|
||||
endif()
|
||||
|
||||
target_link_libraries(common PRIVATE OpenSSL::SSL)
|
||||
target_link_libraries(common PUBLIC Boost::filesystem Boost::context httplib::httplib nlohmann_json::nlohmann_json)
|
||||
|
||||
if (lz4_ADDED)
|
||||
|
||||
@@ -1215,6 +1215,7 @@ else()
|
||||
endif()
|
||||
|
||||
target_link_libraries(core PRIVATE
|
||||
OpenSSL::SSL
|
||||
fmt::fmt
|
||||
nlohmann_json::nlohmann_json
|
||||
RenderDoc::API
|
||||
|
||||
Reference in new issue
Block a user