diff options
Diffstat (limited to 'CMakeLists.txt')
| -rw-r--r-- | CMakeLists.txt | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 9fb8cac43..2fcac4269 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -111,7 +111,9 @@ add_subdirectory(src) # build fluid ####################################################################### -add_subdirectory(fluid) +if (FLTK_BUILD_FLUID) + add_subdirectory (fluid) +endif (FLTK_BUILD_FLUID) ####################################################################### # variables shared by export and install @@ -210,6 +212,12 @@ else () message (STATUS "Shared libraries will not be built (set OPTION_BUILD_SHARED_LIBS=ON to build)") endif () +if (FLTK_BUILD_FLUID) + message (STATUS "FLUID will be built in ${CMAKE_CURRENT_BINARY_DIR}/bin/fluid") + else () + message (STATUS "FLUID will not be built (set FLTK_BUILD_FLUID=ON to build)") + endif () + if (FLTK_BUILD_TEST) message (STATUS "Test programs will be built in ${CMAKE_CURRENT_BINARY_DIR}/bin/test") endif () |
