summaryrefslogtreecommitdiff
path: root/muse2/plugins/pandelay
diff options
context:
space:
mode:
Diffstat (limited to 'muse2/plugins/pandelay')
-rw-r--r--muse2/plugins/pandelay/CMakeLists.txt24
1 files changed, 22 insertions, 2 deletions
diff --git a/muse2/plugins/pandelay/CMakeLists.txt b/muse2/plugins/pandelay/CMakeLists.txt
index 6e48a9ea..02900cb3 100644
--- a/muse2/plugins/pandelay/CMakeLists.txt
+++ b/muse2/plugins/pandelay/CMakeLists.txt
@@ -18,10 +18,25 @@
# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
#=============================================================================
+##
+## List of source files to compile
+##
+file (GLOB pandelay_source_files
+ ladspapandelay.cpp
+ pandelay.cpp
+ pandelaymodel.cpp
+ )
+
+##
+## Define target
+##
add_library ( pandelay SHARED
- pandelay.cpp ladspapandelay.cpp pandelaymodel.cpp
+ ${pandelay_source_files}
)
+##
+## Compilation flags and target name
+##
# tell cmake to name the target pandelay.so instead of
# libpandelay.so
#
@@ -30,4 +45,9 @@ set_target_properties (pandelay
#COMPILE_FLAGS "-O3"
)
-install_targets ( /${CMAKE_INSTALL_LIBDIR}/${MusE_INSTALL_NAME}/plugins pandelay)
+##
+## Install location
+##
+install( TARGETS pandelay
+ DESTINATION ${MusE_PLUGINS_DIR}
+ )