message(STATUS "Graphviz version: ${GRAPHVIZ_VERSION_FULL}")
-# =================== Generate config.h with proper defines ====================
-# This check for getopt is used later in the build, so it is done here.
-include(CheckIncludeFile)
-check_include_file(getopt.h HAVE_GETOPT_H)
-
include(config_checks)
include_directories(${CMAKE_CURRENT_BINARY_DIR})
check_include_file( vfork.h HAVE_VFORK_H )
check_include_file( X11/Intrinsic.h HAVE_X11_INTRINSIC_H )
check_include_file( X11/Xaw/Text.h HAVE_X11_XAW_TEXT_H )
+check_include_file( getopt.h HAVE_GETOPT_H )
# Function checks
include(CheckFunctionExists)
#cmakedefine HAVE_VFORK_H
#cmakedefine HAVE_X11_INTRINSIC_H
#cmakedefine HAVE_X11_XAW_TEXT_H
+#cmakedefine HAVE_GETOPT_H
// Functions
#cmakedefine HAVE_DRAND48