summaryrefslogtreecommitdiff
path: root/muse2/synti/fluidsynth
diff options
context:
space:
mode:
Diffstat (limited to 'muse2/synti/fluidsynth')
-rw-r--r--muse2/synti/fluidsynth/CMakeLists.txt11
1 files changed, 9 insertions, 2 deletions
diff --git a/muse2/synti/fluidsynth/CMakeLists.txt b/muse2/synti/fluidsynth/CMakeLists.txt
index e33bf912..c812cee1 100644
--- a/muse2/synti/fluidsynth/CMakeLists.txt
+++ b/muse2/synti/fluidsynth/CMakeLists.txt
@@ -20,21 +20,28 @@
QT4_WRAP_CPP ( fluidsynth_mocs fluidsynthgui.h )
-QT4_WRAP_UI ( fluidsynth_uis fluidsynthguibase.ui )
+file (GLOB UI_FILES fluidsynthguibase.ui )
+QT4_WRAP_UI ( fluidsynth_uis ${UI_FILES} )
QT4_ADD_RESOURCES (fluidsynth_qrc_files
fluidsynth.qrc
)
-add_library ( fluidsynth SHARED
+file (GLOB SOURCE_FILES
fluidsynti.cpp
fluidsynthgui.cpp
fluidsynthgui.h
+ )
+
+add_library ( fluidsynth SHARED
+ ${SOURCE_FILES}
${fluidsynth_mocs}
${fluidsynth_uis}
${fluidsynth_qrc_files}
)
+set (FILES_TO_TRANSLATE ${FILES_TO_TRANSLATE} ${SOURCE_FILES} ${UI_FILES} CACHE INTERNAL "")
+
# target_link_libraries( fluidsynth synti )
# - tell cmake to name target fluidsynth.so instead of