[Pkg-owncloud-commits] [owncloud-client] 278/332: cmake: Add the icons path to cmake, install the Mac icons properly.

Sandro Knauß hefee-guest at moszumanska.debian.org
Thu Aug 14 21:07:11 UTC 2014


This is an automated email from the git hooks/post-receive script.

hefee-guest pushed a commit to branch master
in repository owncloud-client.

commit 9b3735751338f176f154fa55c7e07b66c37d8988
Author: Klaas Freitag <freitag at owncloud.com>
Date:   Fri Aug 1 15:30:13 2014 +0200

    cmake: Add the icons path to cmake, install the Mac icons properly.
---
 shell_integration/CMakeLists.txt       | 2 ++
 shell_integration/icons/CMakeLists.txt | 9 +++++++++
 2 files changed, 11 insertions(+)

diff --git a/shell_integration/CMakeLists.txt b/shell_integration/CMakeLists.txt
index cb8d80f..c08efc9 100644
--- a/shell_integration/CMakeLists.txt
+++ b/shell_integration/CMakeLists.txt
@@ -1,2 +1,4 @@
 add_subdirectory(testclient)
 add_subdirectory(MacOSX)
+add_subdirectory(icons)
+
diff --git a/shell_integration/icons/CMakeLists.txt b/shell_integration/icons/CMakeLists.txt
new file mode 100644
index 0000000..3fb7c55
--- /dev/null
+++ b/shell_integration/icons/CMakeLists.txt
@@ -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()
+

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-owncloud/owncloud-client.git



More information about the Pkg-owncloud-commits mailing list