diff options
| author | Chris Bieneman <beanz@apple.com> | 2015-10-13 23:03:54 +0000 |
|---|---|---|
| committer | Chris Bieneman <beanz@apple.com> | 2015-10-13 23:03:54 +0000 |
| commit | 658beb930e5b637253fe6b2aa071a830ec0431e1 (patch) | |
| tree | 93178d8fb6822963f37e1a03d05b7b5c6ec685f5 /clang/tools/driver/CMakeLists.txt | |
| parent | e978cdc84bf777d41709a5bbc6abb4f10d5596f2 (diff) | |
| download | bcm5719-llvm-658beb930e5b637253fe6b2aa071a830ec0431e1.tar.gz bcm5719-llvm-658beb930e5b637253fe6b2aa071a830ec0431e1.zip | |
[CMake]Getting rid of references to LLVM_SUBMIT_VERSION and LLVM_SUBMIT_SUBVERSION in favor of LLVM_VERSION_MAJOR and LLVM_VERSION_MINOR.
LLVM_SUBMIT_VERSION and LLVM_SUBMIT_SUBVERSION are commonly used variable names in the autoconf build system. They seem to have leeched into clang's CMake in a few places, and should just be replaced by the LLVM_VERSION_* variables where appropriate.
llvm-svn: 250246
Diffstat (limited to 'clang/tools/driver/CMakeLists.txt')
| -rw-r--r-- | clang/tools/driver/CMakeLists.txt | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/clang/tools/driver/CMakeLists.txt b/clang/tools/driver/CMakeLists.txt index ff3e9fc3d53..a57b22e0a26 100644 --- a/clang/tools/driver/CMakeLists.txt +++ b/clang/tools/driver/CMakeLists.txt @@ -83,10 +83,7 @@ if (APPLE) set(TOOL_INFO_UTI "${CLANG_VENDOR_UTI}") set(TOOL_INFO_VERSION "${CLANG_VERSION}") - if (LLVM_SUBMIT_VERSION) - set(TOOL_INFO_BUILD_VERSION - "${LLVM_SUBMIT_VERSION}.${LLVM_SUBMIT_SUBVERSION}") - endif() + set(TOOL_INFO_BUILD_VERSION "${LLVM_MAJOR_VERSION}.${LLVM_MINOR_VERSION}") set(TOOL_INFO_PLIST_OUT "${CMAKE_CURRENT_BINARY_DIR}/${TOOL_INFO_PLIST}") target_link_libraries(clang |

