diff options
-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) |