mirror of
https://github.com/Icinga/icinga2.git
synced 2025-04-08 17:05:25 +02:00
parent
0d7a382b82
commit
e3e83ae163
2
third-party/cmake/FindFLEX.cmake
vendored
2
third-party/cmake/FindFLEX.cmake
vendored
@ -113,7 +113,7 @@ IF(FLEX_EXECUTABLE)
|
||||
MESSAGE("Command \"${FLEX_EXECUTABLE} --version\" failed with output:\n${FLEX_version_output}\n${FLEX_version_error}\nFLEX_VERSION will not be available")
|
||||
ENDIF()
|
||||
ELSE()
|
||||
STRING(REGEX REPLACE "^flex (.*)$" "\\1"
|
||||
STRING(REGEX REPLACE "^flex[^ ]* (.*)$" "\\1"
|
||||
FLEX_VERSION "${FLEX_version_output}")
|
||||
ENDIF()
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user