]> granicus.if.org Git - graphviz/commitdiff
CMake: fix fcntl.h detection
authorMatthew Fernandez <matthew.fernandez@gmail.com>
Wed, 30 Mar 2022 05:00:51 +0000 (22:00 -0700)
committerMatthew Fernandez <matthew.fernandez@gmail.com>
Sat, 2 Apr 2022 19:55:48 +0000 (12:55 -0700)
This seems to have gone unnoticed because none of the Graphviz components
currently integrated into the CMake build system rely critically on fcntl.h.
This issue was discovered when integrating the xlib plugin.

cmake/config_checks.cmake

index b1edec02ac5d51b262b51ce1c7554cefe5c88731..97b03cc900aa56217a51c91ba4708280d4c719b4 100644 (file)
@@ -1,7 +1,7 @@
 # Header checks
 include(CheckIncludeFile)
 
-check_include_file( fcntl .h            HAVE_FCNTL_H            )
+check_include_file( fcntl.h             HAVE_FCNTL_H            )
 check_include_file( search.h            HAVE_SEARCH_H           )
 check_include_file( stat.h              HAVE_STAT_H             )
 check_include_file( sys/inotify.h       HAVE_SYS_INOTIFY_H      )