]> granicus.if.org Git - clang/commitdiff
[CMake] Pass CLANG_VERSION_* variables into later stages
authorChris Bieneman <beanz@apple.com>
Wed, 21 Sep 2016 20:43:43 +0000 (20:43 +0000)
committerChris Bieneman <beanz@apple.com>
Wed, 21 Sep 2016 20:43:43 +0000 (20:43 +0000)
When supporting overriding clang versions we also need to pass those through to the next stage so they remain overridden.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@282109 91177308-0d34-0410-b5e6-96231b3b80d8

CMakeLists.txt

index 7efef3c4a6fd1f2914b1cc6a45bc9e881ffb75e3..12f79df6e229846fb38d10648aea33c3ef787a7e 100644 (file)
@@ -549,6 +549,9 @@ if (CLANG_ENABLE_BOOTSTRAP)
     LLVM_VERSION_MAJOR
     LLVM_VERSION_MINOR
     LLVM_VERSION_PATCH
+    CLANG_VERSION_MAJOR
+    CLANG_VERSION_MINOR
+    CLANG_VERSION_PATCHLEVEL
     LLVM_VERSION_SUFFIX
     LLVM_BINUTILS_INCDIR
     CLANG_REPOSITORY_STRING