summaryrefslogtreecommitdiff
path: root/muse2/share/wallpapers
diff options
context:
space:
mode:
Diffstat (limited to 'muse2/share/wallpapers')
-rw-r--r--muse2/share/wallpapers/CMakeLists.txt8
1 files changed, 6 insertions, 2 deletions
diff --git a/muse2/share/wallpapers/CMakeLists.txt b/muse2/share/wallpapers/CMakeLists.txt
index 219010cb..a4332ec5 100644
--- a/muse2/share/wallpapers/CMakeLists.txt
+++ b/muse2/share/wallpapers/CMakeLists.txt
@@ -18,5 +18,9 @@
# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
#=============================================================================
-install_files ( /${SHARE_INSTALL_PREFIX}/${MusE_INSTALL_NAME}/wallpapers .*\\.gif )
-install_files ( /${SHARE_INSTALL_PREFIX}/${MusE_INSTALL_NAME}/wallpapers .*\\.jpg )
+file (GLOB wallpapers_files *.gif *.jpg)
+
+install( FILES ${wallpapers_files}
+ DESTINATION ${MusE_SHARE_DIR}/wallpapers
+ )
+