ENH: Added BUILD_FLTK_GUI option (defaults to ON).

This commit is contained in:
Brad King 2001-06-21 15:02:18 -04:00
parent a7d114cfd6
commit 8ffe832e9b
1 changed files with 4 additions and 2 deletions

View File

@ -1,9 +1,11 @@
INCLUDE (${CMAKE_ROOT}/Modules/FindFLTK.cmake)
IF(FLTK_LIBRARY)
IF(FLTK_INCLUDE_PATH)
SUBDIRS(FLTKDialog)
OPTION(BUILD_FLTK_GUI "Build FLTK CMake GUI." "ON")
IF(BUILD_FLTK_GUI)
SUBDIRS(FLTKDialog)
ENDIF(BUILD_FLTK_GUI)
ENDIF(FLTK_INCLUDE_PATH)
ENDIF(FLTK_LIBRARY)