Making the SO version major.minor instead of just major because ABI and API change...
authorChris Bieneman <beanz@apple.com>
Mon, 2 Mar 2015 17:50:13 +0000 (17:50 +0000)
committerChris Bieneman <beanz@apple.com>
Mon, 2 Mar 2015 17:50:13 +0000 (17:50 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@230981 91177308-0d34-0410-b5e6-96231b3b80d8

cmake/modules/AddLLVM.cmake

index 6c7ac06..de542f5 100644 (file)
@@ -341,7 +341,7 @@ function(llvm_add_library name)
 
     set_target_properties(${name}
       PROPERTIES
 
     set_target_properties(${name}
       PROPERTIES
-      SOVERSION ${LLVM_VERSION_MAJOR}
+      SOVERSION ${LLVM_VERSION_MAJOR}.${LLVM_VERSION_MINOR}
       VERSION ${LLVM_VERSION_MAJOR}.${LLVM_VERSION_MINOR}.${LLVM_VERSION_PATCH}${LLVM_VERSION_SUFFIX})
   endif()
 
       VERSION ${LLVM_VERSION_MAJOR}.${LLVM_VERSION_MINOR}.${LLVM_VERSION_PATCH}${LLVM_VERSION_SUFFIX})
   endif()