common: Add C++ version of Apple authorization logic. (#6616)

This commit is contained in:
Steveice10 2023-06-19 15:50:26 -07:00 committed by GitHub
parent 03dbdfc12f
commit bfb6a5b5de
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
10 changed files with 104 additions and 116 deletions

View file

@ -138,6 +138,13 @@ add_library(citra_common STATIC
zstd_compression.h
)
if (APPLE)
target_sources(citra_common PUBLIC
apple_authorization.h
apple_authorization.cpp
)
endif()
if (MSVC)
target_compile_options(citra_common PRIVATE
/W4