zynaddsubfx: just don't build if FLTK is not found rather than hard-failing.

This commit is contained in:
Augustin Cavalier
2015-03-05 12:34:21 -05:00
parent ce282a4841
commit d8dce9605e

View File

@@ -32,7 +32,11 @@ IF(MINGW_PREFIX)
SET(FLTK_SKIP_FLUID TRUE)
ENDIF()
FIND_PACKAGE(FLTK REQUIRED)
FIND_PACKAGE(FLTK)
IF(NOT FLTK_FOUND)
RETURN()
ENDIF()
IF(MINGW_PREFIX)
SET(FLTK_FLUID_EXECUTABLE "${MINGW_PREFIX}/bin/fluid")