mirror of
https://github.com/xomboverlord/ldc.git
synced 2026-02-28 17:43:14 +01:00
Reflect the LLVM 3.1+ requirement in the CMake build system.
This commit is contained in:
@@ -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})
|
||||
|
||||
|
||||
Reference in New Issue
Block a user