summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRanjeet Singh <Ranjeet.Singh@arm.com>2019-01-28 15:48:07 +0000
committerRanjeet Singh <Ranjeet.Singh@arm.com>2019-01-28 15:48:07 +0000
commit0022ab4d807aea2fcb793dd3c5266ea2e9003c6a (patch)
tree3a9139e763ea6b8118bd409b31e7d3b4b36a7ddb
parentf1858236684d6ae927c69f60e1e388806dbbf2d4 (diff)
downloadbcm5719-llvm-0022ab4d807aea2fcb793dd3c5266ea2e9003c6a.tar.gz
bcm5719-llvm-0022ab4d807aea2fcb793dd3c5266ea2e9003c6a.zip
VERSION_GREATER_EQUAL not supported in llvm cmake.
Patch https://reviews.llvm.org/D56329 caused build failures for me when building on Windows because of the use of cmake operator 'VERSION_GREATER_EQUAL' which isn't supported in older versions of cmake. The llvm website states that minimum required version of cmake for building llvm is 3.4.3 https://llvm.org/docs/CMake.html Differential Revision: https://reviews.llvm.org/D57326 llvm-svn: 352378
-rw-r--r--llvm/unittests/Support/CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/unittests/Support/CMakeLists.txt b/llvm/unittests/Support/CMakeLists.txt
index 4060be85c48..40bf9394002 100644
--- a/llvm/unittests/Support/CMakeLists.txt
+++ b/llvm/unittests/Support/CMakeLists.txt
@@ -90,7 +90,7 @@ if(NOT MSVC)
set_source_files_properties(AlignOfTest.cpp PROPERTIES COMPILE_FLAGS -w)
endif()
if(MSVC)
- if( CMAKE_CXX_COMPILER_VERSION VERSION_GREATER_EQUAL 19.15 )
+ if( CMAKE_CXX_COMPILER_VERSION VERSION_GREATER 19.14 )
# Since VS2017 15.8, the following snippet: Failed<CustomSubError>()
# generates a warning:
# \svn\llvm\utils\unittest\googlemock\include\gmock\gmock-matchers.h(186):
OpenPOWER on IntegriCloud