Changeset 19784 for trunk/FACT++


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

Legend:

Unmodified
Added
Removed
  • trunk/FACT++/CMakeLists.txt

    r19781 r19784  
    4242    IF (CMAKE_C_COMPILER_VERSION VERSION_LESS GCC_MIN OR
    4343        CMAKE_CXX_COMPILER_VERSION VERSION_LESS GCC_MIN)
    44         MESSAGE(FATAL_ERROR "gcc/g++ ${GCC_MIN} or higher is required.  You are running version ${CMAKE_C_COMPILER_VERSION}/${CMAKE_CXX_COMPILER_VERSION}")
     44        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}.")
    4545    ENDIF()
    4646ELSEIF ("${CMAKE_CXX_COMPILER_ID}" STREQUAL "Clang")
     
    4848    IF (CMAKE_C_COMPILER_VERSION VERSION_LESS 3.8 OR
    4949        CMAKE_CXX_COMPILER_VERSION VERSION_LESS 3.8)
    50         MESSAGE(FATAL_ERROR "clang/clang++ ${CLANG_MIN} or higher is required.  You are running version ${CMAKE_C_COMPILER_VERSION}/${CMAKE_CXX_COMPILER_VERSION}")
     50        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}.")
    5151    ENDIF()
    5252ELSE()
Note: See TracChangeset for help on using the changeset viewer.