mirror of
https://github.com/Icinga/icinga2.git
synced 2025-07-23 13:45:04 +02:00
parent
1fcb012976
commit
1756bc69a3
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")
|
MESSAGE("Command \"${FLEX_EXECUTABLE} --version\" failed with output:\n${FLEX_version_output}\n${FLEX_version_error}\nFLEX_VERSION will not be available")
|
||||||
ENDIF()
|
ENDIF()
|
||||||
ELSE()
|
ELSE()
|
||||||
STRING(REGEX REPLACE "^flex (.*)$" "\\1"
|
STRING(REGEX REPLACE "^flex[^ ]* (.*)$" "\\1"
|
||||||
FLEX_VERSION "${FLEX_version_output}")
|
FLEX_VERSION "${FLEX_version_output}")
|
||||||
ENDIF()
|
ENDIF()
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user