Skip to content

Commit 75b503e

Browse files
committed
Restrict usable flex version to 2.6 and higher
Don't take sub-minor versions into account
1 parent a7f047d commit 75b503e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

CMakeLists.txt

+2-2
Original file line numberDiff line numberDiff line change
@@ -107,8 +107,8 @@ endif ()
107107
find_program(DOT NAMES dot)
108108
find_package(PythonInterp REQUIRED)
109109
find_package(FLEX REQUIRED)
110-
if (FLEX_VERSION VERSION_LESS 2.6.4)
111-
message(SEND_ERROR "Doxygen requires at least flex version 2.6.4 (installed: ${FLEX_VERSION})")
110+
if (FLEX_VERSION VERSION_LESS 2.6)
111+
message(SEND_ERROR "Doxygen requires at least flex version 2.6 (installed: ${FLEX_VERSION})")
112112
endif()
113113
find_package(BISON REQUIRED)
114114
if (BISON_VERSION VERSION_LESS 2.7)

0 commit comments

Comments
 (0)