diff options
Diffstat (limited to 'audio/zynaddsubfx/files/patch-src__UI__CMakeLists.txt')
-rw-r--r-- | audio/zynaddsubfx/files/patch-src__UI__CMakeLists.txt | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/audio/zynaddsubfx/files/patch-src__UI__CMakeLists.txt b/audio/zynaddsubfx/files/patch-src__UI__CMakeLists.txt new file mode 100644 index 000000000000..274cda37ee22 --- /dev/null +++ b/audio/zynaddsubfx/files/patch-src__UI__CMakeLists.txt @@ -0,0 +1,17 @@ +CMake 2.8.12 support. + +It does not make sense to add MYFLTK_LIBRARIES (which translates to +something like "-L/usr/local/lib -lfoo -lbar") to the link interface +library of a static library like libzynaddsubfx_gui.a. + +Removing FLTK_LIBRARIES does not cause any problems either, as +GUI_LIBRARIES in src/CMakeLists.txt sets all the required GUI-related +libraries that need to be linked against the zynaddsubfx binary. +--- src/UI/CMakeLists.txt~ 2013-10-22 18:26:35.000000000 +0300 ++++ src/UI/CMakeLists.txt 2013-10-22 18:26:39.000000000 +0300 +@@ -32,5 +32,3 @@ + NioUI.cpp + WidgetPDial.cpp + ) +- +-target_link_libraries(zynaddsubfx_gui ${FLTK_LIBRARIES} ${MYFLTK_LIBRARIES}) |