From 3038b3fcf22aeb2850ebb349496e7b98487c2eac Mon Sep 17 00:00:00 2001 From: Chris Bieneman Date: Tue, 13 Oct 2015 22:54:27 +0000 Subject: [PATCH] [CMake] libLLVM's compatibility version should be 1. This is in matching with the autoconf build system. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@250244 91177308-0d34-0410-b5e6-96231b3b80d8 --- tools/llvm-shlib/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/llvm-shlib/CMakeLists.txt b/tools/llvm-shlib/CMakeLists.txt index f7da23a5613..b679dc7fc3b 100644 --- a/tools/llvm-shlib/CMakeLists.txt +++ b/tools/llvm-shlib/CMakeLists.txt @@ -91,6 +91,6 @@ endif() if (APPLE) set_property(TARGET LLVM APPEND_STRING PROPERTY LINK_FLAGS - " -compatibility_version ${LLVM_VERSION_MAJOR}.${LLVM_VERSION_MINOR} -current_version ${LLVM_VERSION_MAJOR}.${LLVM_VERSION_MINOR}") + " -compatibility_version 1 -current_version ${LLVM_VERSION_MAJOR}.${LLVM_VERSION_MINOR}") endif() -- 2.34.1