VERY experimental Nintendo Switch 2 emulator
C++
[cmake] fix OpenSSL not using <openssl/cert.h> when applicable because it tries to use the system one instead of being explicitly linked (#4053)
lizziece9c7c196d68
diff --git a/src/common/CMakeLists.txt b/src/common/CMakeLists.txtindex 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.txtindex 9d774ca0a1..04d63c18b8 100644--- a/src/core/CMakeLists.txt+++ b/src/core/CMakeLists.txt@@ -1215,6 +1215,7 @@ else()endif()target_link_libraries(core PRIVATE+ OpenSSL::SSLfmt::fmtnlohmann_json::nlohmann_jsonRenderDoc::API