mirror of
https://github.com/azahar-emu/azahar.git
synced 2026-06-06 02:33:44 -04:00
macos: Fixed real camera not activating during emulation
This was due to a plugin which is required for handling camera permissions being missing
This commit is contained in:
parent
8e4d4efce4
commit
ba5215242f
2 changed files with 4 additions and 1 deletions
|
|
@ -286,7 +286,9 @@ if (APPLE)
|
|||
target_link_libraries(citra_qt PRIVATE Qt6::GuiPrivate)
|
||||
endif()
|
||||
|
||||
if (UNIX AND NOT APPLE)
|
||||
if (APPLE)
|
||||
target_link_libraries(citra_qt PRIVATE Qt6::QDarwinCameraPermissionPlugin)
|
||||
elseif (UNIX)
|
||||
target_link_libraries(citra_qt PRIVATE Qt6::DBus gamemode)
|
||||
endif()
|
||||
|
||||
|
|
|
|||
|
|
@ -115,6 +115,7 @@
|
|||
|
||||
#ifdef __APPLE__
|
||||
#include "common/apple_authorization.h"
|
||||
Q_IMPORT_PLUGIN(QDarwinCameraPermissionPlugin);
|
||||
#endif
|
||||
|
||||
#ifdef USE_DISCORD_PRESENCE
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue