message: Try again to detect clang 5.0, because cmake doesn't have a version >=
diff: @@ -221,7 +221,7 @@ if(CMAKE_COMPILER_IS_GNUCXX OR CMAKE_CXX_COMPILER_ID MATCHES "Clang")
  endif()
  endif()
  - if(CMAKE_CXX_COMPILER_ID MATCHES "Clang" AND CMAKE_CXX_COMPILER_VERSION VERSION_GREATER 5.0)
  + if(CMAKE_CXX_COMPILER_ID MATCHES "Clang" AND NOT CMAKE_CXX_COMPILER_VERSION VERSION_LESS 5.0)
  list(APPEND warning_flags -Wno-unused-lambda-capture)
  endif()
  