Fix camera permission prompts

Apparently calling qt_finalize_target in the CMake list is needed for permissions-related stuff to work.
This commit is contained in:
schm1dtxbox 2024-09-24 18:14:13 +01:00 committed by Megamouse
parent 4b0a5bd1b8
commit f40d8b669c

View File

@ -130,6 +130,7 @@ if(APPLE)
else()
set(QT_DEPLOY_FLAGS "")
endif()
qt_finalize_target(rpcs3)
add_custom_command(TARGET rpcs3 POST_BUILD
COMMAND ${CMAKE_COMMAND} -E copy
${CMAKE_CURRENT_SOURCE_DIR}/rpcs3.icns $<TARGET_FILE_DIR:rpcs3>/../Resources/rpcs3.icns