summaryrefslogtreecommitdiffstats
path: root/src/CMakeLists.txt
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-11-28 11:12:54 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-11-28 11:12:54 -0600
commitf38a30443ea70eabc1117bde75e778a091e4de0a (patch)
treeb9ba4d647a85204450c067ada0884a9ee07fddc4 /src/CMakeLists.txt
parentd3b27721e6e46833e2c12080cdd64f1bcf04f543 (diff)
downloadrosegarden-f38a30443ea70eabc1117bde75e778a091e4de0a.tar.gz
rosegarden-f38a30443ea70eabc1117bde75e778a091e4de0a.zip
Fix cmake dependencies
Diffstat (limited to 'src/CMakeLists.txt')
-rw-r--r--src/CMakeLists.txt29
1 files changed, 19 insertions, 10 deletions
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index 4fb273f..9e7701f 100644
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -94,7 +94,7 @@ tde_add_executable( rosegardensequencer AUTOMOC
DESTINATION ${BIN_INSTALL_DIR}
)
-ADD_DEPENDENCIES(rosegardensequencer RosegardenCommon)
+ADD_DEPENDENCIES(rosegardensequencer RosegardenCommon-static)
##### RosegardenExtended ############################
@@ -131,14 +131,14 @@ tde_add_executable( rosegarden AUTOMOC
DESTINATION ${BIN_INSTALL_DIR}
)
-ADD_DEPENDENCIES(rosegarden RosegardenExtended)
-ADD_DEPENDENCIES(rosegarden RosegardenSegmentCanvas)
-ADD_DEPENDENCIES(rosegarden RosegardenCommands)
-ADD_DEPENDENCIES(rosegarden RosegardenCommon)
-ADD_DEPENDENCIES(rosegarden RosegardenExtended)
-ADD_DEPENDENCIES(rosegarden RosegardenSegmentCanvas)
-ADD_DEPENDENCIES(rosegarden RosegardenCommands)
-ADD_DEPENDENCIES(rosegarden RosegardenCommon)
+ADD_DEPENDENCIES(rosegarden RosegardenExtended-static)
+ADD_DEPENDENCIES(rosegarden RosegardenSegmentCanvas-static)
+ADD_DEPENDENCIES(rosegarden RosegardenCommands-static)
+ADD_DEPENDENCIES(rosegarden RosegardenCommon-static)
+ADD_DEPENDENCIES(rosegarden RosegardenExtended-static)
+ADD_DEPENDENCIES(rosegarden RosegardenSegmentCanvas-static)
+ADD_DEPENDENCIES(rosegarden RosegardenCommands-static)
+ADD_DEPENDENCIES(rosegarden RosegardenCommon-static)
if( WANT_TEST )
include( TestFileList.txt )
@@ -154,7 +154,16 @@ if( WANT_TEST )
SOURCES RosegardenTestDriver.cpp ${tests_SRCS}
LINK dl lo tdecore-shared ${LIBLO_LIBS} ${LRDF_LIBS} ${FFTW3F_LIBS} ${XFT_LIBS} ${LIRC_LIBS} ${JACK_LIBS} kio-shared tdeui-shared tdeprint-shared RosegardenExtended RosegardenSegmentCanvas RosegardenCommands RosegardenCommon
DESTINATION ${BIN_INSTALL_DIR}
-)
+ )
+
+ ADD_DEPENDENCIES(RosegardenTestDriver RosegardenExtended-static)
+ ADD_DEPENDENCIES(RosegardenTestDriver RosegardenSegmentCanvas-static)
+ ADD_DEPENDENCIES(RosegardenTestDriver RosegardenCommands-static)
+ ADD_DEPENDENCIES(RosegardenTestDriver RosegardenCommon-static)
+ ADD_DEPENDENCIES(RosegardenTestDriver RosegardenExtended-static)
+ ADD_DEPENDENCIES(RosegardenTestDriver RosegardenSegmentCanvas-static)
+ ADD_DEPENDENCIES(RosegardenTestDriver RosegardenCommands-static)
+ ADD_DEPENDENCIES(RosegardenTestDriver RosegardenCommon-static)
FOREACH(currenttest ${tests_SRCS})
GET_FILENAME_COMPONENT(TestName ${currenttest} NAME_WE)