diff options
| author | Matthias Melcher <fltk@matthiasm.com> | 2016-02-10 12:22:38 +0000 |
|---|---|---|
| committer | Matthias Melcher <fltk@matthiasm.com> | 2016-02-10 12:22:38 +0000 |
| commit | 572b7fe0b83dbd86e85a7f36a7fa221511d834c5 (patch) | |
| tree | b53ddc31e7b686075e2c809c96acca6ef258802d /CMake | |
| parent | a679616477ef01fca5dd56a605eec6bd1dfebbe9 (diff) | |
Starting CMake config to blend out filechoose and filename handling (shrins fltk massively if not needed)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11146 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'CMake')
| -rw-r--r-- | CMake/options.cmake | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/CMake/options.cmake b/CMake/options.cmake index 0ae0195b8..94ff1e69e 100644 --- a/CMake/options.cmake +++ b/CMake/options.cmake @@ -79,6 +79,7 @@ option(OPTION_BUILD_SHARED_LIBS ####################################################################### option(OPTION_BUILD_EXAMPLES "build example programs" ON) option(OPTION_PRINT_SUPPORT "allow print support" ON) +option(OPTION_FILESYSTEM_SUPPORT "allow file system support" ON) ####################################################################### if(DOXYGEN_FOUND) @@ -363,6 +364,13 @@ endif(X11_FOUND AND NOT OPTION_PRINT_SUPPORT) ####################################################################### ####################################################################### +set(FL_CFG_FILESYSTEM_SUPPORT FALSE) +if(OPTION_FILESYSTEM_SUPPORT) + set(FL_CFG_FILESYSTEM_SUPPORT TRUE) +endif(OPTION_FILESYSTEM_SUPPORT) +####################################################################### + +####################################################################### # prior to CMake 3.0 this feature was buggy if(NOT CMAKE_VERSION VERSION_LESS 3.0.0) option(CMAKE_SUPPRESS_REGENERATION |
