summaryrefslogtreecommitdiff
path: root/muse2/muse/waveedit/CMakeLists.txt
diff options
context:
space:
mode:
Diffstat (limited to 'muse2/muse/waveedit/CMakeLists.txt')
-rw-r--r--muse2/muse/waveedit/CMakeLists.txt13
1 files changed, 11 insertions, 2 deletions
diff --git a/muse2/muse/waveedit/CMakeLists.txt b/muse2/muse/waveedit/CMakeLists.txt
index 4fb6915e..cdd148ff 100644
--- a/muse2/muse/waveedit/CMakeLists.txt
+++ b/muse2/muse/waveedit/CMakeLists.txt
@@ -38,7 +38,7 @@ file (GLOB SOURCE_FILES
editgain.cpp
)
-add_library ( waveedit STATIC
+add_library ( waveedit SHARED
${SOURCE_FILES}
${waveedit_ui_headers}
${waveedit_mocs}
@@ -46,6 +46,15 @@ add_library ( waveedit STATIC
set (FILES_TO_TRANSLATE ${FILES_TO_TRANSLATE} ${SOURCE_FILES} ${UI_FILES} CACHE INTERNAL "")
+install(TARGETS waveedit DESTINATION ${MUSE_MODULES_DIR})
+
+target_link_libraries( waveedit
+ ${QT_LIBRARIES}
+ widgets
+ )
+
+
set_target_properties( waveedit
- PROPERTIES COMPILE_FLAGS "-include ${PROJECT_BINARY_DIR}/all.h"
+ PROPERTIES COMPILE_FLAGS "-include ${PROJECT_BINARY_DIR}/all.h -fPIC"
+ OUTPUT_NAME muse_waveedit
)