summaryrefslogtreecommitdiff
path: root/CMake/options.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'CMake/options.cmake')
-rw-r--r--CMake/options.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/CMake/options.cmake b/CMake/options.cmake
index f4adee1a0..d04431ba7 100644
--- a/CMake/options.cmake
+++ b/CMake/options.cmake
@@ -424,7 +424,7 @@ option(FLTK_USE_POLL "use poll if available" OFF)
mark_as_advanced(FLTK_USE_POLL)
if(FLTK_USE_POLL)
- CHECK_FUNCTION_EXISTS(poll USE_POLL)
+ check_function_exists(poll USE_POLL)
endif(FLTK_USE_POLL)
#######################################################################