mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-22 05:16:21 +00:00
Remove linebreak after GCC version string
This commit is contained in:
parent
2aba6448a7
commit
a3b5ff264d
@ -246,7 +246,7 @@ endif()
|
||||
|
||||
set(LYX_GCC11_MODE)
|
||||
if(UNIX OR MINGW)
|
||||
execute_process(COMMAND ${CMAKE_CXX_COMPILER} -dumpversion OUTPUT_VARIABLE GCC_VERSION)
|
||||
execute_process(COMMAND ${CMAKE_CXX_COMPILER} -dumpversion OUTPUT_VARIABLE GCC_VERSION OUTPUT_STRIP_TRAILING_WHITESPACE)
|
||||
message(STATUS "Using GCC version ${GCC_VERSION}")
|
||||
if(GCC_VERSION VERSION_LESS 4.9)
|
||||
# <regex> in gcc is unusable in versions less than 4.9.0
|
||||
|
Loading…
Reference in New Issue
Block a user