ENH: Added BUILD_FLTK_GUI option (defaults to ON).
This commit is contained in:
parent
a7d114cfd6
commit
8ffe832e9b
|
@ -1,9 +1,11 @@
|
||||||
INCLUDE (${CMAKE_ROOT}/Modules/FindFLTK.cmake)
|
INCLUDE (${CMAKE_ROOT}/Modules/FindFLTK.cmake)
|
||||||
|
|
||||||
|
|
||||||
IF(FLTK_LIBRARY)
|
IF(FLTK_LIBRARY)
|
||||||
IF(FLTK_INCLUDE_PATH)
|
IF(FLTK_INCLUDE_PATH)
|
||||||
|
OPTION(BUILD_FLTK_GUI "Build FLTK CMake GUI." "ON")
|
||||||
|
IF(BUILD_FLTK_GUI)
|
||||||
SUBDIRS(FLTKDialog)
|
SUBDIRS(FLTKDialog)
|
||||||
|
ENDIF(BUILD_FLTK_GUI)
|
||||||
ENDIF(FLTK_INCLUDE_PATH)
|
ENDIF(FLTK_INCLUDE_PATH)
|
||||||
ENDIF(FLTK_LIBRARY)
|
ENDIF(FLTK_LIBRARY)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue