Disable building fgadmin if FLTK's fluid command is unavailable.
This commit is contained in:
parent
065f4ee5cb
commit
c158619e3c
1 changed files with 5 additions and 1 deletions
|
@ -3,7 +3,11 @@ add_subdirectory(fgviewer)
|
|||
add_subdirectory(GPSsmooth)
|
||||
|
||||
if (FLTK_FOUND)
|
||||
add_subdirectory(fgadmin)
|
||||
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)
|
||||
|
|
Loading…
Reference in a new issue