Changeset 19783 for trunk


Ignore:
Timestamp:
10/24/19 14:00:31 (5 years ago)
Author:
tbretz
Message:
Better formatting of error message
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Mars/CMakeLists.txt

    r19782 r19783  
    4545    IF (CMAKE_C_COMPILER_VERSION VERSION_LESS GCC_MIN OR
    4646        CMAKE_CXX_COMPILER_VERSION VERSION_LESS GCC_MIN)
    47         MESSAGE(FATAL_ERROR "gcc/g++ ${GCC_MIN} or higher is required.  You are running version ${CMAKE_C_COMPILER_VERSION}/${CMAKE_CXX_COMPILER_VERSION}")
     47        MESSAGE(FATAL_ERROR "\n  gcc/g++ ${GCC_MIN} or higher is required.\n  You are running version ${CMAKE_C_COMPILER_VERSION}/${CMAKE_CXX_COMPILER_VERSION}.")
    4848    ENDIF()
    4949ELSEIF ("${CMAKE_CXX_COMPILER_ID}" STREQUAL "Clang")
     
    5151    IF (CMAKE_C_COMPILER_VERSION VERSION_LESS 3.8 OR
    5252        CMAKE_CXX_COMPILER_VERSION VERSION_LESS 3.8)
    53         MESSAGE(FATAL_ERROR "clang/clang++ ${CLANG_MIN} or higher is required.  You are running version ${CMAKE_C_COMPILER_VERSION}/${CMAKE_CXX_COMPILER_VERSION}")
     53        MESSAGE(FATAL_ERROR "\n  clang/clang++ ${CLANG_MIN} or higher is required.\n  You are running version ${CMAKE_C_COMPILER_VERSION}/${CMAKE_CXX_COMPILER_VERSION}.")
    5454    ENDIF()
    5555ELSE()
Note: See TracChangeset for help on using the changeset viewer.