mirror of
https://github.com/Lime3DS/Lime3DS.git
synced 2026-04-04 12:17:43 -06: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
@ -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…
Reference in New Issue
Block a user