diff --git a/src/common/CMakeLists.txt b/src/common/CMakeLists.txt index b462107bcd..786effa6bd 100644 --- a/src/common/CMakeLists.txt +++ b/src/common/CMakeLists.txt @@ -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) diff --git a/src/core/CMakeLists.txt b/src/core/CMakeLists.txt index 9d774ca0a1..0dc5ec0409 100644 --- a/src/core/CMakeLists.txt +++ b/src/core/CMakeLists.txt @@ -1215,6 +1215,8 @@ else() endif() target_link_libraries(core PRIVATE + OpenSSL::SSL + OpenSSL::crypto fmt::fmt nlohmann_json::nlohmann_json RenderDoc::API