[CMake] Update GetSVN.cmake to use LLVM version control helper scripts.
authorJordan Rose <jordan_rose@apple.com>
Wed, 19 Nov 2014 22:03:21 +0000 (22:03 +0000)
committerJordan Rose <jordan_rose@apple.com>
Wed, 19 Nov 2014 22:03:21 +0000 (22:03 +0000)
commit61fd8ea5209bc246b956710e4340e419922f5c82
tree2cb19733724caeeb3f3be5c3d114edae9c360bf5
parent06f9f40a1ecc47ded712d846b6e23a749e2b591f
[CMake] Update GetSVN.cmake to use LLVM version control helper scripts.

This allows the logic to work with Git, and also uses the variable names
to match what Clang is actually looking for.

This is a re-application of r190556 and r190808. This changes the interface
of GetSVN.cmake. Clang change to follow.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@222391 91177308-0d34-0410-b5e6-96231b3b80d8
cmake/modules/GetSVN.cmake