mirror of
https://github.com/PabloMK7/citra.git
synced 2025-09-09 12:20:04 +00:00
Apple: request authorization for camera usage
This commit is contained in:
parent
e6e6f4fbe1
commit
940ec70f13
6 changed files with 116 additions and 2 deletions
|
@ -236,6 +236,10 @@ if (APPLE)
|
|||
target_sources(citra-qt PRIVATE ${MACOSX_ICON})
|
||||
set_target_properties(citra-qt PROPERTIES MACOSX_BUNDLE TRUE)
|
||||
set_target_properties(citra-qt PROPERTIES MACOSX_BUNDLE_INFO_PLIST ${CMAKE_CURRENT_SOURCE_DIR}/Info.plist)
|
||||
target_sources(citra-qt PRIVATE
|
||||
usage_authorization.h
|
||||
usage_authorization.mm
|
||||
)
|
||||
elseif(WIN32)
|
||||
# compile as a win32 gui application instead of a console application
|
||||
target_link_libraries(citra-qt PRIVATE Qt5::WinMain)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue