Ignore:
Timestamp:
10/24/19 20:59:16 (5 years ago)
Author:
tbretz
Message:
Fixed the missing CLANG_MIN
File:
1 edited

Legend:

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

    r19784 r19791  
    4646ELSEIF ("${CMAKE_CXX_COMPILER_ID}" STREQUAL "Clang")
    4747    SET(CLANG_MIN 3.8)
    48     IF (CMAKE_C_COMPILER_VERSION VERSION_LESS 3.8 OR
    49         CMAKE_CXX_COMPILER_VERSION VERSION_LESS 3.8)
     48    IF (CMAKE_C_COMPILER_VERSION VERSION_LESS CLANG_MIN OR
     49        CMAKE_CXX_COMPILER_VERSION VERSION_LESS CLANG_MIN)
    5050        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()
Note: See TracChangeset for help on using the changeset viewer.