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:
OpenSauce04 2025-12-18 22:52:01 +00:00 committed by OpenSauce
parent fe92815b04
commit 1d2591ab8c
2 changed files with 4 additions and 1 deletions

View file

@ -287,7 +287,9 @@ if (NOT WIN32)
endif()
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()

View file

@ -115,6 +115,7 @@
#ifdef __APPLE__
#include "common/apple_authorization.h"
Q_IMPORT_PLUGIN(QDarwinCameraPermissionPlugin);
#endif
#ifdef USE_DISCORD_PRESENCE