diff options
author | Lukas Toenne <lukas.toenne@googlemail.com> | 2012-10-25 18:31:52 +0400 |
---|---|---|
committer | Lukas Toenne <lukas.toenne@googlemail.com> | 2012-10-25 18:31:52 +0400 |
commit | 3b3ad5bba6d6a4355e801f125e26382f98bf7237 (patch) | |
tree | ddb4cb9906c9f94bdf13e8805d66144866e8e6b6 /CMakeLists.txt | |
parent | 481dcd83be059cb25523324cf6d07b492612c344 (diff) |
Fix for cmake syntax error: LLVM_VERSION string was not configurable, causing linker errors for people not using the default LLVM version (3.0 on Linux, 3.1 on OSX).
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 2c144601b7a..5a06011246f 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -717,7 +717,7 @@ if(UNIX AND NOT APPLE) if(WITH_LLVM) set(LLVM_DIRECTORY ${LIBDIR}/llvm CACHE PATH "Path to the LLVM installation") - set(LLVM_VERSION "3.0" CACHE STRING "Version of LLVM to use" "") + set(LLVM_VERSION "3.0" CACHE STRING "Version of LLVM to use") set(LLVM_STATIC YES) if(LLVM_DIRECTORY) set(LLVM_CONFIG "${LLVM_DIRECTORY}/bin/llvm-config") @@ -1610,7 +1610,7 @@ elseif(APPLE) if(WITH_LLVM) set(LLVM_DIRECTORY ${LIBDIR}/llvm CACHE PATH "Path to the LLVM installation") - set(LLVM_VERSION "3.1" CACHE STRING "Version of LLVM to use" "") + set(LLVM_VERSION "3.1" CACHE STRING "Version of LLVM to use") set(LLVM_STATIC YES) if(LLVM_DIRECTORY) set(LLVM_CONFIG "${LLVM_DIRECTORY}/bin/llvm-config") |