summary refs log tree commit diff
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authorJoseph Donofry <joedonofry@gmail.com>2024-01-24 23:39:51 -0500
committerJoseph Donofry <joedonofry@gmail.com>2024-01-24 23:39:51 -0500
commit36041e525a765e99152c70ca103a945c75c5df19 (patch)
tree58583fa42fdf1ef2f5ec56e12bf6bdf559c59e45 /CMakeLists.txt
parentAdd Matrix URL handling support to MacOS (diff)
downloadnheko-36041e525a765e99152c70ca103a945c75c5df19.tar.xz
Make sure to use our info plist template
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt5
1 files changed, 5 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 201e51aa..fc04e3a0 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -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()