Commit 29cc81ee authored by 4ast's avatar 4ast

Merge pull request #7 from plumgrid/clang-300

Reduce strength of clang requirement to 3.0
parents 54be0e44 3bf41473
......@@ -20,8 +20,8 @@ endif()
execute_process(COMMAND ${CLANG} --version OUTPUT_VARIABLE CLANG_VERSION_RAW)
string(REGEX MATCH "[0-9]+[.][0-9]+[.][0-9]+" CLANG_VERSION ${CLANG_VERSION_RAW})
message(STATUS "Found CLANG: ${CLANG} (found version \"${CLANG_VERSION}\")")
if (CLANG_VERSION VERSION_LESS 3.5.0)
message(FATAL_ERROR "requires clang version >= 3.5.0, ${CLANG_VERSION} found")
if (CLANG_VERSION VERSION_LESS 3.0.0)
message(FATAL_ERROR "requires clang version >= 3.0.0, ${CLANG_VERSION} found")
endif()
set(CMAKE_C_FLAGS "-Wall")
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment