Minor follow-ups to r229720 suggested on llvmdev

"svn" patch by Sedat Dilek plus trimming whitespace added in r229720.

llvm-svn: 230773
This commit is contained in:
Reid Kleckner 2015-02-27 18:22:46 +00:00
parent 629cdbae94
commit 2e3d1e056c
2 changed files with 3 additions and 2 deletions

View File

@ -66,7 +66,8 @@ set(LLVM_VERSION_PATCH 0)
set(LLVM_VERSION_SUFFIX svn) set(LLVM_VERSION_SUFFIX svn)
if (NOT PACKAGE_VERSION) if (NOT PACKAGE_VERSION)
set(PACKAGE_VERSION "${LLVM_VERSION_MAJOR}.${LLVM_VERSION_MINOR}.${LLVM_VERSION_PATCH}svn") set(PACKAGE_VERSION
"${LLVM_VERSION_MAJOR}.${LLVM_VERSION_MINOR}.${LLVM_VERSION_PATCH}${LLVM_VERSION_SUFFIX}")
endif() endif()
option(LLVM_INSTALL_TOOLCHAIN_ONLY "Only include toolchain files in the 'install' target." OFF) option(LLVM_INSTALL_TOOLCHAIN_ONLY "Only include toolchain files in the 'install' target." OFF)

View File

@ -338,7 +338,7 @@ function(llvm_add_library name)
PREFIX "" PREFIX ""
) )
endif() endif()
set_target_properties(${name} set_target_properties(${name}
PROPERTIES PROPERTIES
SOVERSION ${LLVM_VERSION_MAJOR} SOVERSION ${LLVM_VERSION_MAJOR}