diff options
| author | Matthias Melcher <github@matthiasm.com> | 2023-01-21 17:14:41 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-01-21 17:14:41 +0100 |
| commit | 1fc269b0d4c79b256cc57740d318f95dded8c340 (patch) | |
| tree | 5df94f8cb7f4e8629dbce7a36f070ea5b513d5d7 /CMakeLists.txt | |
| parent | 4ddcbc81de60faa0e9922db7df316f3d69cb8df7 (diff) | |
Move global FLTK options into new app fltk-admin (#560)
Diffstat (limited to 'CMakeLists.txt')
| -rw-r--r-- | CMakeLists.txt | 18 |
1 files changed, 16 insertions, 2 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index c6ba3a069..19d7b09c3 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -116,6 +116,14 @@ if (FLTK_BUILD_FLUID) endif (FLTK_BUILD_FLUID) ####################################################################### +# build fltk-options +####################################################################### + +if (FLTK_BUILD_FLTK_OPTIONS) + add_subdirectory (fltk-options) +endif (FLTK_BUILD_FLTK_OPTIONS) + +####################################################################### # variables shared by export and install # export.cmake creates configuration files for direct use in a built but uninstalled FLTK # install.cmake creates these files for an installed FLTK @@ -214,9 +222,15 @@ endif () if (FLTK_BUILD_FLUID) message (STATUS "FLUID will be built in ${CMAKE_CURRENT_BINARY_DIR}/bin/fluid") - else () +else () message (STATUS "FLUID will not be built (set FLTK_BUILD_FLUID=ON to build)") - endif () +endif () + +if (FLTK_BUILD_FLTK_OPTIONS) + message (STATUS "fltk-options will be built in ${CMAKE_CURRENT_BINARY_DIR}/bin/fltk-options") +else () + message (STATUS "fltk-options will not be built (set FLTK_BUILD_FLTK_OPTIONS=ON to build)") +endif () if (FLTK_BUILD_TEST) message (STATUS "Test programs will be built in ${CMAKE_CURRENT_BINARY_DIR}/bin/test") |
