Make sure to use our info plist template

pull/1671/head
Joseph Donofry 10 months ago
parent 3812d60bf4
commit 36041e525a
No known key found for this signature in database
GPG Key ID: E8A1D78EF044B0CB
  1. 5
      CMakeLists.txt
  2. 2
      cmake/MacOSXBundleInfo.plist.in

@ -676,6 +676,11 @@ if(WIN32)
else() else()
qt_add_executable(nheko ${OS_BUNDLE} ${NHEKO_DEPS}) 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") if(HAVE_BACKTRACE_SYMBOLS_FD AND NOT CMAKE_BUILD_TYPE STREQUAL "Release")
set_target_properties(nheko PROPERTIES ENABLE_EXPORTS ON) set_target_properties(nheko PROPERTIES ENABLE_EXPORTS ON)
endif() endif()

@ -45,5 +45,7 @@
</array> </array>
</dict> </dict>
</array> </array>
<key>NSSupportsAutomaticGraphicsSwitching</key>
<true/>
</dict> </dict>
</plist> </plist>

Loading…
Cancel
Save