Skip to content

Commit

Permalink
Reduce strength of clang requirement to 3.0
Browse files Browse the repository at this point in the history
* All that is required is that clang binary IR is compatible
  with llvm 3.7.

Signed-off-by: Brenden Blanco <[email protected]>
  • Loading branch information
Brenden Blanco committed May 6, 2015
1 parent 54be0e4 commit 3bf4147
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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")
Expand Down

0 comments on commit 3bf4147

Please sign in to comment.