diff options
author | Dominik Schmidt <dev@dominik-schmidt.de> | 2018-01-04 23:06:23 +0300 |
---|---|---|
committer | Dominik Schmidt <dev@dominik-schmidt.de> | 2018-01-13 15:58:17 +0300 |
commit | 81c20352e1dfd7800f7c43ce8dc9bb08b68b33ce (patch) | |
tree | 23012ddf6fb031c15844223deda7576cf097f0c8 /shell_integration | |
parent | 4e52ee9ebd6672bb3f1099e27f3cd2cf9a0635d4 (diff) |
Use new ECMAddAppIcon macro for application icons.
cmake/modules/ECMAddAppIcon.cmake is heavily patched to support sidebar icons, OUTFILE_BASE parameter and to not include 64 and 64@2x icons on macOS which are not supported. All changes are made in a way that we can upstream this.
Diffstat (limited to 'shell_integration')
-rw-r--r-- | shell_integration/MacOSX/CMakeLists.txt | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/shell_integration/MacOSX/CMakeLists.txt b/shell_integration/MacOSX/CMakeLists.txt index 06174af7c..4173f6e94 100644 --- a/shell_integration/MacOSX/CMakeLists.txt +++ b/shell_integration/MacOSX/CMakeLists.txt @@ -1,6 +1,5 @@ if(APPLE) -# Contrary to popular belief, this is called like this no matter what theme/OEM. -set(OC_OEM_SHARE_ICNS "${CMAKE_BINARY_DIR}/src/gui/ownCloud.icns") +set(OC_OEM_SHARE_ICNS "${CMAKE_BINARY_DIR}/src/gui/${APPLICATION_ICON_NAME}.icns") # The bundle identifier and application group need to have compatible values with the client # to be able to open a Mach port across the extension's sandbox boundary. |