Skip to content

Commit

Permalink
Restrict usable flex version to 2.6 and higher
Browse files Browse the repository at this point in the history
Don't take sub-minor versions into account
  • Loading branch information
albert-github committed Jan 23, 2022
1 parent a7f047d commit 75b503e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -107,8 +107,8 @@ endif ()
find_program(DOT NAMES dot)
find_package(PythonInterp REQUIRED)
find_package(FLEX REQUIRED)
if (FLEX_VERSION VERSION_LESS 2.6.4)
message(SEND_ERROR "Doxygen requires at least flex version 2.6.4 (installed: ${FLEX_VERSION})")
if (FLEX_VERSION VERSION_LESS 2.6)
message(SEND_ERROR "Doxygen requires at least flex version 2.6 (installed: ${FLEX_VERSION})")
endif()
find_package(BISON REQUIRED)
if (BISON_VERSION VERSION_LESS 2.7)
Expand Down

0 comments on commit 75b503e

Please sign in to comment.