[CMake] Fixing variable names that were mistyped
authorChris Bieneman <beanz@apple.com>
Fri, 18 Nov 2016 19:20:39 +0000 (19:20 +0000)
committerChris Bieneman <beanz@apple.com>
Fri, 18 Nov 2016 19:20:39 +0000 (19:20 +0000)
This is a silly bug that I'm sure I caused...

llvm-svn: 287366

clang/tools/driver/CMakeLists.txt

index f5fbff5..b8db241 100644 (file)
@@ -74,7 +74,7 @@ if (APPLE)
 
   set(TOOL_INFO_UTI "${CLANG_VENDOR_UTI}")
   set(TOOL_INFO_VERSION "${CLANG_VERSION}")
-  set(TOOL_INFO_BUILD_VERSION "${LLVM_MAJOR_VERSION}.${LLVM_MINOR_VERSION}")
+  set(TOOL_INFO_BUILD_VERSION "${LLVM_VERSION_MAJOR}.${LLVM_VERSION_MINOR}")
   
   set(TOOL_INFO_PLIST_OUT "${CMAKE_CURRENT_BINARY_DIR}/${TOOL_INFO_PLIST}")
   target_link_libraries(clang