r282109 - [CMake] Pass CLANG_VERSION_* variables into later stages
Chris Bieneman via cfe-commits
cfe-commits at lists.llvm.org
Wed Sep 21 13:43:43 PDT 2016
Author: cbieneman
Date: Wed Sep 21 15:43:43 2016
New Revision: 282109
URL: http://llvm.org/viewvc/llvm-project?rev=282109&view=rev
Log:
[CMake] Pass CLANG_VERSION_* variables into later stages
When supporting overriding clang versions we also need to pass those through to the next stage so they remain overridden.
Modified:
cfe/trunk/CMakeLists.txt
Modified: cfe/trunk/CMakeLists.txt
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/CMakeLists.txt?rev=282109&r1=282108&r2=282109&view=diff
==============================================================================
--- cfe/trunk/CMakeLists.txt (original)
+++ cfe/trunk/CMakeLists.txt Wed Sep 21 15:43:43 2016
@@ -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
More information about the cfe-commits
mailing list