summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoralbert-github <albert.tests@gmail.com>2019-06-29 09:01:34 (GMT)
committeralbert-github <albert.tests@gmail.com>2019-06-29 09:01:34 (GMT)
commitd5d91031d4f89f5eaf71a3c79fdb6630b9624a85 (patch)
tree7b3864ce1eb3ae1e9828a848bf361b5c7bd901be
parentc44632a13d664c46b83d4a698285f530396c33b5 (diff)
downloadDoxygen-d5d91031d4f89f5eaf71a3c79fdb6630b9624a85.zip
Doxygen-d5d91031d4f89f5eaf71a3c79fdb6630b9624a85.tar.gz
Doxygen-d5d91031d4f89f5eaf71a3c79fdb6630b9624a85.tar.bz2
issue #7091 HEAD fails to build on macOS with stock `bison`
Placed minimum `bison` requirement. Tested with bison version 2.7 so used this as minimum. Note: win_flex_bison uses a different external numbering. The e.g. the version 2.5.16 of win_flex_bison contains bison version 3.0.4.
-rw-r--r--CMakeLists.txt3
1 files changed, 3 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index dcd426b..7ee9d7e 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -83,6 +83,9 @@ find_program(DOT NAMES dot)
find_package(PythonInterp REQUIRED)
find_package(FLEX REQUIRED)
find_package(BISON REQUIRED)
+if (BISON_VERSION VERSION_LESS 2.7)
+ message(SEND_ERROR "Doxygen requires at least bison version 2.7 (installed: ${BISON_VERSION})")
+endif()
find_package(Threads)
if (sqlite3)