mirror of
https://github.com/nextcloud/desktop.git
synced 2024-11-24 05:55:59 +03:00
cmake: Add the icons path to cmake, install the Mac icons properly.
This commit is contained in:
parent
23269c9a08
commit
9b37357513
2 changed files with 11 additions and 0 deletions
|
@ -1,2 +1,4 @@
|
|||
add_subdirectory(testclient)
|
||||
add_subdirectory(MacOSX)
|
||||
add_subdirectory(icons)
|
||||
|
||||
|
|
9
shell_integration/icons/CMakeLists.txt
Normal file
9
shell_integration/icons/CMakeLists.txt
Normal file
|
@ -0,0 +1,9 @@
|
|||
|
||||
# Install the Mac icon container into the Mac Bundle.
|
||||
if( BUILD_OWNCLOUD_OSX_BUNDLE AND NOT BUILD_LIBRARIES_ONLY )
|
||||
set (ICON_DIR ${OWNCLOUD_OSX_BUNDLE}/Contents/Resources/icons)
|
||||
|
||||
file(GLOB mac_icons "icns/*icns")
|
||||
install(FILES ${mac_icons} DESTINATION ${ICON_DIR})
|
||||
endif()
|
||||
|
Loading…
Reference in a new issue