From 9ccd60459d59e05fe7a05015459e6ea6206078ff Mon Sep 17 00:00:00 2001 From: DanielSvoboda Date: Mon, 2 Sep 2024 15:30:50 -0300 Subject: [PATCH] Update CMakeLists.txt --- CMakeLists.txt | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index 6c40f0a8f..b12a6985b 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -737,3 +737,8 @@ if (ENABLE_QT_GUI) set_source_files_properties(src/images/shadPS4.icns PROPERTIES MACOSX_PACKAGE_LOCATION Resources) endif() + +if (ENABLE_QT_GUI) + find_package(OpenSSL REQUIRED) + target_link_libraries(shadps4 PRIVATE ${OPENSSL_LIBRARIES}) +endif()