forked from OSchip/llvm-project
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:
parent
629cdbae94
commit
2e3d1e056c
|
@ -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)
|
||||||
|
|
|
@ -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}
|
||||||
|
|
Loading…
Reference in New Issue