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})