citra-qt: Use custom Info.plist for Mac builds
Instead of letting CMake re-generate an automatic Info.plist file on every build, use our own. This allows greater control on the application bundle settings.
This commit is contained in:
parent
addef06081
commit
513483f8d5
2 changed files with 38 additions and 0 deletions
|
@ -24,6 +24,7 @@ set(SRCS
|
|||
hotkeys.cpp
|
||||
main.cpp
|
||||
citra-qt.rc
|
||||
Info.plist
|
||||
)
|
||||
|
||||
set(HEADERS
|
||||
|
@ -72,6 +73,7 @@ endif()
|
|||
|
||||
if (APPLE)
|
||||
add_executable(citra-qt MACOSX_BUNDLE ${SRCS} ${HEADERS} ${UI_HDRS})
|
||||
set_target_properties(citra-qt PROPERTIES MACOSX_BUNDLE_INFO_PLIST ${CMAKE_CURRENT_SOURCE_DIR}/Info.plist)
|
||||
else()
|
||||
add_executable(citra-qt ${SRCS} ${HEADERS} ${UI_HDRS})
|
||||
endif()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue