[GWP_ASAN] Avoid using VERSION_GREATER_EQUAL in cmake files

This is a fixup for r369823 which introduced the use of
VERSION_GREATER_EQUAL in the cmake config for gwp_asan.

Minimum supported version of cmake in LLVM is 3.4.3 and
VERSION_GREATER_EQUAL was not introduced until later
versions of cmake.

llvm-svn: 369891
This commit is contained in:
Bjorn Pettersson 2019-08-26 11:02:36 +00:00
parent 1681ceb2c4
commit 140f06f1b5
1 changed files with 1 additions and 1 deletions

View File

@ -107,7 +107,7 @@ if (COMPILER_RT_HAS_GWP_ASAN)
# is >= 6.0.
if (COMPILER_RT_BUILD_LIBFUZZER AND
"${CMAKE_CXX_COMPILER_ID}" STREQUAL "Clang" AND
CMAKE_CXX_COMPILER_VERSION VERSION_GREATER_EQUAL 6.0)
NOT CMAKE_CXX_COMPILER_VERSION VERSION_LESS 6.0)
add_executable(stack_trace_compressor_fuzzer
stack_trace_compressor_fuzzer.cpp
${GWP_ASAN_SOURCES}