llvm-6502/cmake/modules
Dylan Noblesmith f931261b51 cmake: work with CMake < 2.8.5
CMake versions 2.8.4 and earlier were giving this error since r146323:
"string end index: -1 is out of range 0 - 6"

Passing -1 as the length of the desired substring was a new feature
added in CMake 2.8.5:
http://www.cmake.org/Bug/view.php?id=10740

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@146372 91177308-0d34-0410-b5e6-96231b3b80d8
2011-12-12 13:06:25 +00:00
..
AddLLVM.cmake
AddLLVMDefinitions.cmake
CheckAtomic.cmake
ChooseMSVCCRT.cmake
CMakeLists.txt
GetTargetTriple.cmake
HandleLLVMOptions.cmake
LLVM-Config.cmake
LLVMConfig.cmake.in
LLVMConfigVersion.cmake.in
LLVMParseArguments.cmake
LLVMProcessSources.cmake
TableGen.cmake
VersionFromVCS.cmake cmake: work with CMake < 2.8.5 2011-12-12 13:06:25 +00:00