diff options
author | Luis Ibanez <luis.ibanez@kitware.com> | 2001-11-27 04:57:01 (GMT) |
---|---|---|
committer | Luis Ibanez <luis.ibanez@kitware.com> | 2001-11-27 04:57:01 (GMT) |
commit | 29fe0c8cf3eb644c96135387943741c7fdb73af8 (patch) | |
tree | 14ab716fad010eaf74186c8b1dd5a2eeb455277e /Modules/FindFLTK.cmake | |
parent | 0eb838643e95bce81d9ba2b048fb8895fb133295 (diff) | |
download | CMake-29fe0c8cf3eb644c96135387943741c7fdb73af8.zip CMake-29fe0c8cf3eb644c96135387943741c7fdb73af8.tar.gz CMake-29fe0c8cf3eb644c96135387943741c7fdb73af8.tar.bz2 |
ENH: Support for running FLUID was added.
Diffstat (limited to 'Modules/FindFLTK.cmake')
-rw-r--r-- | Modules/FindFLTK.cmake | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/Modules/FindFLTK.cmake b/Modules/FindFLTK.cmake index 6679d78..e181942 100644 --- a/Modules/FindFLTK.cmake +++ b/Modules/FindFLTK.cmake @@ -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) + + |