Update CMakeLists.txt

This commit is contained in:
DanielSvoboda 2024-09-02 15:30:50 -03:00 committed by GitHub
parent 6944a16407
commit 9ccd60459d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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()