ENH: HAS_FLTK variable added. FLTK_WRAP_UI command made INTERNAL.

This commit is contained in:
Luis Ibanez 2002-03-29 18:07:01 -05:00
parent dbe20d8d3b
commit 701f0d6413
1 changed files with 16 additions and 6 deletions

View File

@ -22,11 +22,21 @@ ${path}
)
IF (FLTK_FLUID_EXE)
SET ( FLTK_WRAP_UI 1 CACHE BOOL "Can we honour the FLTK_WRAP_UI command" )
SET ( FLTK_WRAP_UI 1 CACHE INTERNAL "Can we honour the FLTK_WRAP_UI command" )
ENDIF (FLTK_FLUID_EXE)
MARK_AS_ADVANCED(
FLTK_INCLUDE_PATH
FLTK_LIBRARY
FLTK_FLUID_EXE
)
#
# Set HAS_FLTK
# This is the final flag that will be checked by
# other code that requires FLTK for compile/run.
#
IF(FLTK_FLUID_EXE)
IF(FLTK_INCLUDE_PATH)
IF(FLTK_LIBRARY)
SET (HAS_FLTK 1 CACHE INTERNAL "FLTK library, headers and Fluid are available")
ENDIF(FLTK_LIBRARY)
ENDIF(FLTK_INCLUDE_PATH)
ENDIF(FLTK_FLUID_EXE)