summaryrefslogtreecommitdiff
path: root/lib/gwp_asan
diff options
context:
space:
mode:
authorBjorn Pettersson <bjorn.a.pettersson@ericsson.com>2019-08-26 11:02:36 +0000
committerBjorn Pettersson <bjorn.a.pettersson@ericsson.com>2019-08-26 11:02:36 +0000
commit2e59427d2e766f51a35ac673e86f6fdb0e5d0f89 (patch)
tree1f2d1093006302fd044de56be8d52f0e3649764e /lib/gwp_asan
parent0ee972f080db3df06aed7672c3298a29b8cec082 (diff)
downloadcompiler-rt-2e59427d2e766f51a35ac673e86f6fdb0e5d0f89.tar.gz
[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. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@369891 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/gwp_asan')
-rw-r--r--lib/gwp_asan/CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/gwp_asan/CMakeLists.txt b/lib/gwp_asan/CMakeLists.txt
index dadde3654..552a447ea 100644
--- a/lib/gwp_asan/CMakeLists.txt
+++ b/lib/gwp_asan/CMakeLists.txt
@@ -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}