summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWerner Schweer <ws.seh.de>2006-05-04 14:24:16 +0000
committerWerner Schweer <ws.seh.de>2006-05-04 14:24:16 +0000
commit14f43d476c5f6b087579c7d04790e8f890fb6f6f (patch)
tree074c9fce5f09105075f90054e8e39b03230b750b
parentde679990608b90afc219031ede0e7215afc9e884 (diff)
fix linking of midi plugins
-rw-r--r--muse/midiplugins/CMakeLists.txt4
-rw-r--r--muse/midiplugins/filter/CMakeLists.txt4
-rw-r--r--muse/midiplugins/metronom/CMakeLists.txt3
-rw-r--r--muse/midiplugins/transform/CMakeLists.txt4
4 files changed, 15 insertions, 0 deletions
diff --git a/muse/midiplugins/CMakeLists.txt b/muse/midiplugins/CMakeLists.txt
index 37d7bbd6..a2894e6c 100644
--- a/muse/midiplugins/CMakeLists.txt
+++ b/muse/midiplugins/CMakeLists.txt
@@ -20,4 +20,8 @@
subdirs(libmidiplugin filter metronom transform )
+set ( CMAKE_CXX_FLAGS
+ "${CMAKE_CXX_FLAGS} -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SHARED"
+ )
+set ( CMAKE_LDD_FLAGS -module -avoid-version )
diff --git a/muse/midiplugins/filter/CMakeLists.txt b/muse/midiplugins/filter/CMakeLists.txt
index 7ff84081..b40e840f 100644
--- a/muse/midiplugins/filter/CMakeLists.txt
+++ b/muse/midiplugins/filter/CMakeLists.txt
@@ -31,6 +31,10 @@ add_library ( filter SHARED
${filter_uis}
)
+target_link_libraries( filter
+ midiplugin
+ )
+
# - tell cmake to name target filter.so instead of
# libfilter.so
# - use precompiled header files
diff --git a/muse/midiplugins/metronom/CMakeLists.txt b/muse/midiplugins/metronom/CMakeLists.txt
index 19b60c51..0e699233 100644
--- a/muse/midiplugins/metronom/CMakeLists.txt
+++ b/muse/midiplugins/metronom/CMakeLists.txt
@@ -28,6 +28,9 @@ add_library ( metronom SHARED
${metronom_mocs}
${metronom_uis}
)
+target_link_libraries( metronom
+ midiplugin
+ )
# - tell cmake to name target metronom.so instead of
# libmetronom.so
diff --git a/muse/midiplugins/transform/CMakeLists.txt b/muse/midiplugins/transform/CMakeLists.txt
index 39f488de..c0ce11d4 100644
--- a/muse/midiplugins/transform/CMakeLists.txt
+++ b/muse/midiplugins/transform/CMakeLists.txt
@@ -27,6 +27,10 @@ add_library ( transform SHARED
${transform_uis}
)
+target_link_libraries( transform
+ midiplugin
+ )
+
# - tell cmake to name target transform.so instead of
# libtransform.so
# - use precompiled header files