~ubuntu-branches/ubuntu/trusty/lmms/trusty

« back to all changes in this revision

Viewing changes to plugins/zynaddsubfx/fltk/src/CMakeLists.txt

  • Committer: Charlie Smotherman
  • Date: 2012-12-05 22:08:38 UTC
  • mfrom: (33.1.7 lmms_0.4.13)
  • Revision ID: cjsmo@cableone.net-20121205220838-09pjfzew9m5023hr
* New  Upstream release.
  - Minor tweaking to ZynAddSubFX, CALF, SWH plugins  and Stefan Fendt's RC
    filters.
  - Added UI fixes: Magnentic effect of knobs and Piano-roll fixes
  - Updated German localization and copyright year
* debian/lmms-common.install:
  - added /usr/share/applications so the lmms.desktop file will correctly
    install (LP: #863366)
  - This should also fix the Software Center not displaying lmms in sound
    and video (LP: #824231)

Show diffs side-by-side

added added

removed removed

Lines of Context:
193
193
  fl_utf.c
194
194
)
195
195
 
 
196
add_definitions(-DFL_LIBRARY)
196
197
if(APPLE)
197
 
   set_source_files_properties(
198
 
      Fl.cxx Fl_Native_File_Chooser.cxx Fl_Printer.cxx
199
 
      PROPERTIES COMPILE_FLAGS "-x objective-c++")
 
198
        set(MMFILES
 
199
                Fl_cocoa.mm
 
200
                Fl_Quartz_Printer.mm
 
201
                Fl_Native_File_Chooser_MAC.mm
 
202
                )
 
203
else()
 
204
   set(MMFILES
 
205
      )
200
206
endif(APPLE)
201
207
 
202
208
#######################################################################
203
 
add_library(fltk STATIC ${CPPFILES} ${CFILES} fl_call_main.c)
 
209
add_library(fltk STATIC ${CPPFILES} ${MMFILES} ${CFILES} fl_call_main.c)
204
210
set_target_properties(fltk PROPERTIES CLEAN_DIRECT_OUTPUT 1)
205
211
if(MSVC)
206
212
   if(OPTION_LARGE_FILE)
225
231
   target_link_libraries(fltk comctl32)
226
232
endif(WIN32)
227
233
 
228
 
if(HAVE_CAIRO)
 
234
if(FLTK_HAVE_CAIRO)
229
235
   target_link_libraries(fltk fltk_cairo ${PKG_CAIRO_LIBRARIES})
230
 
ENDif(HAVE_CAIRO)
 
236
ENDif(FLTK_HAVE_CAIRO)
231
237
 
232
 
if(USE_XINERAMA)
 
238
if(HAVE_XINERAMA)
233
239
   target_link_libraries(fltk ${X11_Xinerama_LIB})
234
 
endif(USE_XINERAMA)
 
240
endif(HAVE_XINERAMA)
235
241
 
236
242
if(USE_XFT)
237
243
   target_link_libraries(fltk ${X11_Xft_LIB})
254
260
if(OPTION_BUILD_SHARED_LIBS)
255
261
 
256
262
#######################################################################
257
 
add_library(fltk_SHARED SHARED ${CPPFILES} ${CFILES})
 
263
add_library(fltk_SHARED SHARED ${CPPFILES} ${MMFILES} ${CFILES})
258
264
set_target_properties(fltk_SHARED
259
265
   PROPERTIES CLEAN_DIRECT_OUTPUT 1
260
266
   VERSION ${FLTK_VERSION_MAJOR}.${FLTK_VERSION_MINOR}
286
292
   target_link_libraries(fltk_SHARED comctl32)
287
293
endif(WIN32)
288
294
 
289
 
if(HAVE_CAIRO)
 
295
if(FLTK_HAVE_CAIRO)
290
296
   target_link_libraries(fltk_SHARED fltk_cairo ${PKG_CAIRO_LIBRARIES})
291
 
ENDif(HAVE_CAIRO)
 
297
ENDif(FLTK_HAVE_CAIRO)
292
298
 
293
 
if(USE_XINERAMA)
 
299
if(HAVE_XINERAMA)
294
300
   target_link_libraries(fltk_SHARED ${X11_Xinerama_LIB})
295
 
endif(USE_XINERAMA)
 
301
endif(HAVE_XINERAMA)
296
302
 
297
303
if(USE_XFT)
298
304
   target_link_libraries(fltk_SHARED ${X11_Xft_LIB})