diff options
author | Bill Hoffman <bill.hoffman@kitware.com> | 2002-11-21 18:00:51 (GMT) |
---|---|---|
committer | Bill Hoffman <bill.hoffman@kitware.com> | 2002-11-21 18:00:51 (GMT) |
commit | 369d5f631ca2fd504d5c1a43418876b987b7e038 (patch) | |
tree | 0f53b81c82b2871abd9b01a23f83011d7947702c /Modules/TestCXXAcceptsFlag.cmake | |
parent | 9a6c95fcea52bd1b5b4930fdac0a48088e55273b (diff) | |
download | CMake-369d5f631ca2fd504d5c1a43418876b987b7e038.zip CMake-369d5f631ca2fd504d5c1a43418876b987b7e038.tar.gz CMake-369d5f631ca2fd504d5c1a43418876b987b7e038.tar.bz2 |
spelling error
Diffstat (limited to 'Modules/TestCXXAcceptsFlag.cmake')
-rw-r--r-- | Modules/TestCXXAcceptsFlag.cmake | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/Modules/TestCXXAcceptsFlag.cmake b/Modules/TestCXXAcceptsFlag.cmake index 1c6f351..09cf4b2 100644 --- a/Modules/TestCXXAcceptsFlag.cmake +++ b/Modules/TestCXXAcceptsFlag.cmake @@ -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) |