From 30a64aa8da492ada95aff171b745e7b50145f643 Mon Sep 17 00:00:00 2001 From: "Tim E. Real" Date: Sun, 24 Oct 2010 08:21:08 +0000 Subject: See ChangeLog --- muse2/synti/fluidsynth/CMakeLists.txt | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'muse2/synti/fluidsynth/CMakeLists.txt') diff --git a/muse2/synti/fluidsynth/CMakeLists.txt b/muse2/synti/fluidsynth/CMakeLists.txt index 1a10ba06..cdb298e2 100644 --- a/muse2/synti/fluidsynth/CMakeLists.txt +++ b/muse2/synti/fluidsynth/CMakeLists.txt @@ -30,7 +30,7 @@ add_library ( fluidsynth SHARED ${fluidsynth_uis} ) -target_link_libraries( fluidsynth synti ) +# target_link_libraries( fluidsynth synti ) # - tell cmake to name target fluidsynth.so instead of # libfluidsynth.so @@ -39,13 +39,16 @@ target_link_libraries( fluidsynth synti ) set_target_properties ( fluidsynth PROPERTIES PREFIX "" COMPILE_FLAGS "-include ${PROJECT_BINARY_DIR}/all-pic.h" - LINK_FLAGS "${FLUID_LIBRARIES}" + LINK_FLAGS "${FLUIDSYN_LDFLAGS}" # "-lfluidsynth" ) target_link_libraries(fluidsynth synti ${QT_LIBRARIES} - ${FLUID_LIBRARIES} + # Can't do this here, since FLUIDSYN_LIBRARIES evaluates to 'fluidsynth', the same name as our target. + # ${FLUIDSYN_LIBRARIES} + # Try giving full path: Nope, path is empty! + #${FLUIDSYN_LIBRARY_DIRS}/${FLUIDSYN_LIBRARIES} ) install_targets ( /${CMAKE_INSTALL_LIBDIR}/${MusE_INSTALL_NAME}/synthi/ fluidsynth ) -- cgit v1.2.3