summaryrefslogtreecommitdiff
blob: 8cdd8738e2b302b54cf29f13defea7e0aca3375a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
--- pianobooster-src-0.6.4b/src/CMakeLists.txt.orig
+++ pianobooster-src-0.6.4b/src/CMakeLists.txt
@@ -2,12 +2,6 @@
 # for the debug build type cmake -DCMAKE_BUILD_TYPE=Debug
 SET(CMAKE_BUILD_TYPE Release)
 SET(CMAKE_VERBOSE_MAKEFILE OFF)
-SET(USE_FLUIDSYNTH OFF)
-
-# The inplace directory is mainly for windows builds
-# SET(FLUIDSYNTH_INPLACE_DIR C:/download/misc/ljb/fluidsynth-1.0.9)
-SET(FLUIDSYNTH_INPLACE_DIR /home/louis/build/fluidsynth-1.0.9)
-
 
 # Testing precompiled headers  it does not work -- leave as OFF.
 SET(USE_PCH OFF)
@@ -78,18 +72,7 @@
     ADD_DEFINITIONS(-DPB_USE_FLUIDSYNTH)
     MESSAGE("Building using fluidsynth")
     SET( PB_BASE_SRCS MidiDeviceFluidSynth.cpp )
-
-    IF(FLUIDSYNTH_INPLACE_DIR)
-        INCLUDE_DIRECTORIES(${FLUIDSYNTH_INPLACE_DIR}/include/)
-        IF(WIN32)
-            LINK_LIBRARIES( ${FLUIDSYNTH_INPLACE_DIR}/src/.libs/libfluidsynth.dll.a)
-        ENDIF(WIN32)
-        IF(UNIX)
-            LINK_LIBRARIES(${FLUIDSYNTH_INPLACE_DIR}/src/.libs/libfluidsynth.so)
-        ENDIF(UNIX)
-    ELSEIF(FLUIDSYNTH_INPLACE_DIR)
-        LINK_LIBRARIES( fluidsynth)
-    ENDIF(FLUIDSYNTH_INPLACE_DIR)
+	LINK_LIBRARIES(fluidsynth)
 ENDIF(USE_FLUIDSYNTH)
 
 
@@ -214,8 +197,6 @@
 INSTALL(TARGETS pianobooster RUNTIME DESTINATION bin)
 #INSTALL( index.docbook INSTALL_DESTINATION ${HTML_INSTALL_DIR}/en  SUBDIR kmidimon )
 
-INSTALL( FILES ../README.txt  DESTINATION share/doc/pianobooster )
-
 INSTALL ( FILES images/pianobooster.png DESTINATION share/pixmaps )