mirror of
https://github.com/Nheko-Reborn/nheko.git
synced 2024-11-23 03:18:49 +03:00
Make sure to use our info plist template
This commit is contained in:
parent
3812d60bf4
commit
36041e525a
2 changed files with 7 additions and 0 deletions
|
@ -676,6 +676,11 @@ if(WIN32)
|
|||
else()
|
||||
qt_add_executable(nheko ${OS_BUNDLE} ${NHEKO_DEPS})
|
||||
|
||||
if(APPLE)
|
||||
set_target_properties(nheko PROPERTIES MACOSX_BUNDLE_INFO_PLIST
|
||||
"${CMAKE_CURRENT_SOURCE_DIR}/cmake/MacOSXBundleInfo.plist.in")
|
||||
endif()
|
||||
|
||||
if(HAVE_BACKTRACE_SYMBOLS_FD AND NOT CMAKE_BUILD_TYPE STREQUAL "Release")
|
||||
set_target_properties(nheko PROPERTIES ENABLE_EXPORTS ON)
|
||||
endif()
|
||||
|
|
|
@ -45,5 +45,7 @@
|
|||
</array>
|
||||
</dict>
|
||||
</array>
|
||||
<key>NSSupportsAutomaticGraphicsSwitching</key>
|
||||
<true/>
|
||||
</dict>
|
||||
</plist>
|
||||
|
|
Loading…
Reference in a new issue