Copy-pasted the wrong line from configure.in, fix gcc detection.

This commit is contained in:
Jonathan Perkin 2010-06-29 19:21:59 +01:00
parent 855beb8bf3
commit c49335e8a7

View file

@ -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 "")