1
0
Fork 0

Disable building fgadmin if FLTK's fluid command is unavailable.

This commit is contained in:
Martin Spott 2011-09-05 23:44:00 +02:00
parent 065f4ee5cb
commit c158619e3c

View file

@ -3,7 +3,11 @@ add_subdirectory(fgviewer)
add_subdirectory(GPSsmooth)
if (FLTK_FOUND)
if (EXISTS ${FLTK_BIN_DIR}/fluid)
add_subdirectory(fgadmin)
else ()
message(STATUS "fluid executable not found, disabling fgadmin")
endif ()
endif (FLTK_FOUND)
if (WITH_FGPANEL)