Fix for cmake syntax error: LLVM_VERSION string was not configurable, causing linker...
authorLukas Toenne <lukas.toenne@googlemail.com>
Thu, 25 Oct 2012 14:31:52 +0000 (14:31 +0000)
committerLukas Toenne <lukas.toenne@googlemail.com>
Thu, 25 Oct 2012 14:31:52 +0000 (14:31 +0000)
CMakeLists.txt

index 2c14460..5a06011 100644 (file)
@@ -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")