Reflect the LLVM 3.1+ requirement in the CMake build system.

This commit is contained in:
David Nadlinger
2013-05-31 22:33:21 +02:00
parent 2b4f49b4e7
commit 54696e3d3c

View File

@@ -11,7 +11,7 @@ endif()
# Locate LLVM.
#
find_package(LLVM 3.0 REQUIRED
find_package(LLVM 3.1 REQUIRED
all-targets bitwriter linker ipo instrumentation backend support tablegen asmparser ${EXTRA_LLVM_MODULES})
math(EXPR LDC_LLVM_VER ${LLVM_VERSION_MAJOR}*100+${LLVM_VERSION_MINOR})