diff options
author | Brad King <brad.king@kitware.com> | 2001-06-21 19:02:18 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2001-06-21 19:02:18 (GMT) |
commit | 8ffe832e9bc22deddef38eed1c19fe437b5d031f (patch) | |
tree | 611bf8da11a82d2d8371d1d0a35acc27e63b0289 /Source | |
parent | a7d114cfd6099b7f6acfb658adf3a39f6792cdbd (diff) | |
download | CMake-8ffe832e9bc22deddef38eed1c19fe437b5d031f.zip CMake-8ffe832e9bc22deddef38eed1c19fe437b5d031f.tar.gz CMake-8ffe832e9bc22deddef38eed1c19fe437b5d031f.tar.bz2 |
ENH: Added BUILD_FLTK_GUI option (defaults to ON).
Diffstat (limited to 'Source')
-rw-r--r-- | Source/CMakeLists.txt | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/Source/CMakeLists.txt b/Source/CMakeLists.txt index b898a5a..ab7178b 100644 --- a/Source/CMakeLists.txt +++ b/Source/CMakeLists.txt @@ -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) |