From 8ffe832e9bc22deddef38eed1c19fe437b5d031f Mon Sep 17 00:00:00 2001 From: Brad King Date: Thu, 21 Jun 2001 15:02:18 -0400 Subject: [PATCH] ENH: Added BUILD_FLTK_GUI option (defaults to ON). --- Source/CMakeLists.txt | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/Source/CMakeLists.txt b/Source/CMakeLists.txt index b898a5a8a..ab7178b92 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)