mirror of
https://github.com/chylex/Nextcloud-Desktop.git
synced 2025-04-09 19:15:43 +02:00
cmake: Add the icons path to cmake, install the Mac icons properly.
This commit is contained in:
parent
23269c9a08
commit
9b37357513
shell_integration
@ -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 New Issue
Block a user