mirror of
https://github.com/MariaDB/server.git
synced 2025-01-29 10:14:19 +01:00
Copy-pasted the wrong line from configure.in, fix gcc detection.
This commit is contained in:
parent
855beb8bf3
commit
c49335e8a7
1 changed files with 2 additions and 2 deletions
|
@ -162,7 +162,7 @@ SET(CONFIGURE_LINE "Built using CMake")
|
|||
IF(CMAKE_COMPILER_IS_GNUCC)
|
||||
EXECUTE_PROCESS(
|
||||
COMMAND ${CMAKE_C_COMPILER} ${CMAKE_C_COMPILER_ARG1} --version
|
||||
COMMAND grep -i version
|
||||
COMMAND sed 1q
|
||||
OUTPUT_VARIABLE CC_VERSION)
|
||||
ELSE()
|
||||
SET(CC_VERSION "")
|
||||
|
@ -170,7 +170,7 @@ ENDIF()
|
|||
IF(CMAKE_COMPILER_IS_GNUCXX)
|
||||
EXECUTE_PROCESS(
|
||||
COMMAND ${CMAKE_CXX_COMPILER} ${CMAKE_CXX_COMPILER_ARG1} --version
|
||||
COMMAND grep -i version
|
||||
COMMAND sed 1q
|
||||
OUTPUT_VARIABLE CXX_VERSION)
|
||||
ELSE()
|
||||
SET(CXX_VERSION "")
|
||||
|
|
Loading…
Add table
Reference in a new issue