llvm.org GIT mirror llvm / 8f0bf92
[CMake] Add LLVM_VERSION_PATCH to the -current_version flag for libLTO and libLLVM. This is to match autoconf where LLVM_SUBMIT_SUBVERSION is usually set to ${LLVM_VERSION_MINOR}.${LLVM_VERSION_PATCH}. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@250277 91177308-0d34-0410-b5e6-96231b3b80d8 Chris Bieneman 4 years ago
2 changed file(s) with 2 addition(s) and 2 deletion(s). Raw diff Collapse all Expand all
9090 if (APPLE)
9191 set_property(TARGET LLVM APPEND_STRING PROPERTY
9292 LINK_FLAGS
93 " -compatibility_version 1 -current_version ${LLVM_VERSION_MAJOR}.${LLVM_VERSION_MINOR}")
93 " -compatibility_version 1 -current_version ${LLVM_VERSION_MAJOR}.${LLVM_VERSION_MINOR}.${LLVM_VERSION_PATCH}")
9494 endif()
9595
2626 endif()
2727 set_property(TARGET LTO APPEND_STRING PROPERTY
2828 LINK_FLAGS
29 " -compatibility_version 1 -current_version ${LTO_VERSION}.${LLVM_VERSION_MINOR}")
29 " -compatibility_version 1 -current_version ${LTO_VERSION}.${LLVM_VERSION_MINOR}.${LLVM_VERSION_PATCH}")
3030 endif()