ENH: Support for running FLUID was added.

This commit is contained in:
Luis Ibanez 2001-11-26 23:57:01 -05:00
parent 0eb838643e
commit 29fe0c8cf3
1 changed files with 11 additions and 0 deletions

View File

@ -1,6 +1,8 @@
#
# Find the native FLTK includes and library
#
# FLTK_FLUID_EXE, where to find the Fluid tool
# FLTK_WRAP_UI, This allows the FLTK_WRAP_UI command to work.
FIND_PATH(FLTK_INCLUDE_PATH FL/Fl.h
@ -15,3 +17,12 @@ FIND_LIBRARY(FLTK_LIBRARY fltk
PATHS /usr/lib /usr/local/lib /usr/local/fltk/lib H:/usr/local/fltk/lib /usr/X11R6/lib
)
FIND_FILE(FLTK_FLUID_EXE fluid
${path}
)
IF (FLTK_FLUID_EXE)
SET ( FLTK_WRAP_UI 1 CACHE BOOL "Can we honour the FLTK_WRAP_UI command" )
ENDIF (FLTK_FLUID_EXE)