r263570 - [CMake] Defaulting CLANG_VENDOR to PACKAGE_VENDOR
Chris Bieneman via cfe-commits
cfe-commits at lists.llvm.org
Tue Mar 15 11:25:36 PDT 2016
Author: cbieneman
Date: Tue Mar 15 13:25:36 2016
New Revision: 263570
URL: http://llvm.org/viewvc/llvm-project?rev=263570&view=rev
Log:
[CMake] Defaulting CLANG_VENDOR to PACKAGE_VENDOR
LLVM r263566 adds a generic PACKAGE_VENDOR configuration which can be used to specify the vendor for LLVM toolchain tools. This change defaults the CLANG_VENDOR to the PACKAGE_VENDOR so that you don't have to specify both when building a package.
Modified:
cfe/trunk/CMakeLists.txt
Modified: cfe/trunk/CMakeLists.txt
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/CMakeLists.txt?rev=263570&r1=263569&r2=263570&view=diff
==============================================================================
--- cfe/trunk/CMakeLists.txt (original)
+++ cfe/trunk/CMakeLists.txt Tue Mar 15 13:25:36 2016
@@ -209,7 +209,7 @@ endif()
set(CLANG_DEFAULT_OPENMP_RUNTIME "libomp" CACHE STRING
"Default OpenMP runtime used by -fopenmp.")
-set(CLANG_VENDOR "" CACHE STRING
+set(CLANG_VENDOR ${PACKAGE_VENDOR} CACHE STRING
"Vendor-specific text for showing with version information.")
if( CLANG_VENDOR )
More information about the cfe-commits
mailing list