diff options
author | albert-github <albert.tests@gmail.com> | 2019-06-29 09:01:34 (GMT) |
---|---|---|
committer | albert-github <albert.tests@gmail.com> | 2019-06-29 09:01:34 (GMT) |
commit | d5d91031d4f89f5eaf71a3c79fdb6630b9624a85 (patch) | |
tree | 7b3864ce1eb3ae1e9828a848bf361b5c7bd901be | |
parent | c44632a13d664c46b83d4a698285f530396c33b5 (diff) | |
download | Doxygen-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.txt | 3 |
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) |