summaryrefslogtreecommitdiff
path: root/muse2/share/plugins/CMakeLists.txt
diff options
context:
space:
mode:
authorOrcan Ogetbil <oget.fedora@gmail.com>2010-12-20 04:54:36 +0000
committerOrcan Ogetbil <oget.fedora@gmail.com>2010-12-20 04:54:36 +0000
commit673172e3ffb8e345b2bbfb6596ac3d79a1e17f14 (patch)
treed6535f36f0ff55b0f313d5e0aac8823c3fd98161 /muse2/share/plugins/CMakeLists.txt
parentda484f0563218c2432ee4d6f2eb3ce8c7c298622 (diff)
Major cmake cleanup. Please see the ChangeLog.
Diffstat (limited to 'muse2/share/plugins/CMakeLists.txt')
-rw-r--r--muse2/share/plugins/CMakeLists.txt13
1 files changed, 10 insertions, 3 deletions
diff --git a/muse2/share/plugins/CMakeLists.txt b/muse2/share/plugins/CMakeLists.txt
index 6499c28b..9aa4b92c 100644
--- a/muse2/share/plugins/CMakeLists.txt
+++ b/muse2/share/plugins/CMakeLists.txt
@@ -18,8 +18,15 @@
# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
#=============================================================================
-file (GLOB UI_FILES *.ui)
-set (FILES_TO_TRANSLATE ${FILES_TO_TRANSLATE} ${UI_FILES} CACHE INTERNAL "")
+file (GLOB plugins_ui_files *.ui)
-install_files ( /${SHARE_INSTALL_PREFIX}/${MusE_INSTALL_NAME}/plugins .*\\.ui )
+set (FILES_TO_TRANSLATE
+ ${FILES_TO_TRANSLATE}
+ ${plugins_ui_files}
+ CACHE INTERNAL ""
+ )
+
+install( FILES ${plugins_ui_files}
+ DESTINATION ${MusE_SHARE_DIR}/plugins
+ )