spelling error
This commit is contained in:
parent
9a6c95fcea
commit
369d5f631c
|
@ -2,7 +2,7 @@
|
|||
|
||||
# check for some ANSI flags in the CXX compiler if it is not gnu
|
||||
IF(NOT CMAKE_COMPILER_IS_GNUCXX)
|
||||
INCLUDE(${CMAKE_ROOT}/Modules/TestCXXAcceptFlag.cmake)
|
||||
INCLUDE(${CMAKE_ROOT}/Modules/TestCXXAcceptsFlag.cmake)
|
||||
SET(CMAKE_TRY_ANSI_CXX_FLAGS "")
|
||||
IF(CMAKE_SYSTEM MATCHES "IRIX.*")
|
||||
SET(CMAKE_TRY_ANSI_CXX_FLAGS "-LANG:std")
|
||||
|
|
|
@ -13,8 +13,10 @@ MACRO(CHECK_CXX_ACCEPTS_FLAG FLAGS VARIABLE)
|
|||
${CMAKE_ROOT}/Modules/DummyCXXFile.cxx
|
||||
CMAKE_FLAGS -DCOMPILE_DEFINITIONS:STRING=${FLAGS}
|
||||
OUTPUT_VARIABLE OUTPUT)
|
||||
IF(NOT ${VARIABLE})
|
||||
IF(${VARIABLE})
|
||||
MESSAGE(STATUS "Checking to see if CXX compiler acepts flag ${FLAGS} - yes")
|
||||
ELSE(${VARIABLE})
|
||||
WRITE_FILE(${PROJECT_BINARY_DIR}/CMakeError.log
|
||||
"Determining if the CXX compiler accepts the flag ${FLAGS} failed with the following output:\n" "${OUTPUT}\n" APPEND)
|
||||
ENDIF(NOT ${VARIABLE})
|
||||
ENDIF(${VARIABLE})
|
||||
ENDMACRO(CHECK_CXX_ACCEPTS_FLAG)
|
||||
|
|
Loading…
Reference in New Issue