[vlmc-devel] commit: cmake: Do not install *.desktop files into the share folder ( Ludovic Fauvet )

git at videolan.org git at videolan.org
Fri Mar 19 17:06:12 CET 2010


vlmc | branch: master | Ludovic Fauvet <etix at l0cal.com> | Fri Mar 19 17:04:39 2010 +0100| [9acf1644ae8afa4e48391c7650ba5ccaae442bdd] | committer: Ludovic Fauvet 

cmake: Do not install *.desktop files into the share folder

> http://git.videolan.org/gitweb.cgi/vlmc.git/?a=commit;h=9acf1644ae8afa4e48391c7650ba5ccaae442bdd
---

 CMakeLists.txt |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/CMakeLists.txt b/CMakeLists.txt
index 2927589..af7d8c6 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -118,7 +118,8 @@ INSTALL (FILES AUTHORS COPYING INSTALL NEWS README TRANSLATORS
 INSTALL (FILES share/vlmc.desktop DESTINATION ${VLMC_DESKTOP_DIR})
 
 # Copy the share directory
-INSTALL (DIRECTORY share/ DESTINATION ${VLMC_DATA_DIR})
+INSTALL (DIRECTORY share/ DESTINATION ${VLMC_DATA_DIR}
+         PATTERN "*.desktop" EXCLUDE)
 
 #############################################################
 # Enable packaging



More information about the Vlmc-devel mailing list