summaryrefslogtreecommitdiff
path: root/CMake
diff options
context:
space:
mode:
Diffstat (limited to 'CMake')
-rw-r--r--CMake/options.cmake10
1 files changed, 10 insertions, 0 deletions
diff --git a/CMake/options.cmake b/CMake/options.cmake
index 17fcda3f2..9f3079595 100644
--- a/CMake/options.cmake
+++ b/CMake/options.cmake
@@ -311,6 +311,16 @@ if (APPLE)
endif (CMAKE_OSX_SYSROOT)
endif (APPLE)
+#######################################################################
+option (OPTION_USE_STD "allow FLTK to use some std:: features" OFF)
+if (OPTION_USE_STD)
+ set (FLTK_USE_STD 1)
+else ()
+ set (FLTK_USE_STD 0)
+endif ()
+
+#######################################################################
+
# find X11 libraries and headers
set (PATH_TO_XLIBS)
if ((NOT APPLE OR OPTION_APPLE_X11) AND NOT WIN32 AND NOT OPTION_USE_WAYLAND)