]> granicus.if.org Git - clang/commitdiff
[CMake] Defaulting CLANG_VENDOR to PACKAGE_VENDOR
authorChris Bieneman <beanz@apple.com>
Tue, 15 Mar 2016 18:25:36 +0000 (18:25 +0000)
committerChris Bieneman <beanz@apple.com>
Tue, 15 Mar 2016 18:25:36 +0000 (18:25 +0000)
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.

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

CMakeLists.txt

index b34c21a432de826b0b58beaa07b6d05817886633..e4adc8ccbd037db8f553c6807810359d881f14e0 100644 (file)
@@ -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 )