Browse Source

[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 <lizzie@eden-emu.dev>

Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/4053
Reviewed-by: crueter <crueter@eden-emu.dev>
Reviewed-by: MaranBr <maranbr@eden-emu.dev>
lizzie/zlib-ng
lizzie 3 days ago
committed by crueter
parent
commit
ce9c7c196d
No known key found for this signature in database GPG Key ID: 425ACD2D4830EBC6
  1. 2
      src/common/CMakeLists.txt
  2. 1
      src/core/CMakeLists.txt

2
src/common/CMakeLists.txt

@ -235,7 +235,7 @@ if (BOOST_NO_HEADERS)
else() else()
target_link_libraries(common PUBLIC Boost::headers) target_link_libraries(common PUBLIC Boost::headers)
endif() endif()
target_link_libraries(common PRIVATE OpenSSL::SSL)
target_link_libraries(common PUBLIC Boost::filesystem Boost::context httplib::httplib nlohmann_json::nlohmann_json) target_link_libraries(common PUBLIC Boost::filesystem Boost::context httplib::httplib nlohmann_json::nlohmann_json)
if (lz4_ADDED) if (lz4_ADDED)

1
src/core/CMakeLists.txt

@ -1215,6 +1215,7 @@ else()
endif() endif()
target_link_libraries(core PRIVATE target_link_libraries(core PRIVATE
OpenSSL::SSL
fmt::fmt fmt::fmt
nlohmann_json::nlohmann_json nlohmann_json::nlohmann_json
RenderDoc::API RenderDoc::API

Loading…
Cancel
Save