Skip to content

Commit 29cc81e

Browse files
committed
Merge pull request #7 from plumgrid/clang-300
Reduce strength of clang requirement to 3.0
2 parents 54be0e4 + 3bf4147 commit 29cc81e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

CMakeLists.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,8 @@ endif()
2020
execute_process(COMMAND ${CLANG} --version OUTPUT_VARIABLE CLANG_VERSION_RAW)
2121
string(REGEX MATCH "[0-9]+[.][0-9]+[.][0-9]+" CLANG_VERSION ${CLANG_VERSION_RAW})
2222
message(STATUS "Found CLANG: ${CLANG} (found version \"${CLANG_VERSION}\")")
23-
if (CLANG_VERSION VERSION_LESS 3.5.0)
24-
message(FATAL_ERROR "requires clang version >= 3.5.0, ${CLANG_VERSION} found")
23+
if (CLANG_VERSION VERSION_LESS 3.0.0)
24+
message(FATAL_ERROR "requires clang version >= 3.0.0, ${CLANG_VERSION} found")
2525
endif()
2626

2727
set(CMAKE_C_FLAGS "-Wall")

0 commit comments

Comments
 (0)