mirror of
https://git.eden-emu.dev/eden-emu/eden.git
synced 2026-06-06 07:45:56 +08:00
[cmake] fix OpenSSL not using <openssl/cert.h> when applicable because it tries to use the system one instead of being explicitly linked
Signed-off-by: lizzie <lizzie@eden-emu.dev>
This commit is contained in:
parent
ad9af25027
commit
c93fd70498
@ -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,8 @@ else()
|
||||
endif()
|
||||
|
||||
target_link_libraries(core PRIVATE
|
||||
OpenSSL::SSL
|
||||
OpenSSL::crypto
|
||||
fmt::fmt
|
||||
nlohmann_json::nlohmann_json
|
||||
RenderDoc::API
|
||||
|
||||
Loading…
Reference in New Issue
Block a user