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:
@@ -130,6 +130,7 @@ if(APPLE)
|
|||||||
else()
|
else()
|
||||||
set(QT_DEPLOY_FLAGS "")
|
set(QT_DEPLOY_FLAGS "")
|
||||||
endif()
|
endif()
|
||||||
|
qt_finalize_target(rpcs3)
|
||||||
add_custom_command(TARGET rpcs3 POST_BUILD
|
add_custom_command(TARGET rpcs3 POST_BUILD
|
||||||
COMMAND ${CMAKE_COMMAND} -E copy
|
COMMAND ${CMAKE_COMMAND} -E copy
|
||||||
${CMAKE_CURRENT_SOURCE_DIR}/rpcs3.icns $<TARGET_FILE_DIR:rpcs3>/../Resources/rpcs3.icns
|
${CMAKE_CURRENT_SOURCE_DIR}/rpcs3.icns $<TARGET_FILE_DIR:rpcs3>/../Resources/rpcs3.icns
|
||||||
|
|||||||
Reference in New Issue
Block a user