BISON and FLEX are required to build some of the core parts of Graphviz.
cmake_minimum_required (VERSION 2.8 FATAL_ERROR)
-# Build dependencies
-# ==================
+# Required to set build version
find_package(Git REQUIRED)
# General project information
message(STATUS "Graphviz version: ${GRAPHVIZ_VERSION_MAJROR}.${GRAPHVIZ_VERSION_MINOR}.${GRAPHVIZ_VERSION_BUILD}")
+# Build dependencies
+# ==================
+find_package(BISON REQUIRED)
+find_package(FLEX REQUIRED)
+
add_subdirectory(lib)
}
if($env:build_system -eq "cmake") {
+ $env:Path += ";" + $env:APPVEYOR_BUILD_FOLDER + "\windows\dependencies\graphviz-build-utilities";
mkdir build;
cd build;
cmake ..;