mirror of https://github.com/microsoft/vcpkg.git
[libjuice] Set SOVERSION on shared library target (#53177)
Co-authored-by: Martijn Otto <martijn@resolume.com> Co-authored-by: Billy Robert O'Neal III <bion@microsoft.com> Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
This commit is contained in:
parent
52896b593e
commit
ef2ffdc545
|
|
@ -6,6 +6,7 @@ vcpkg_from_github(
|
|||
HEAD_REF master
|
||||
PATCHES
|
||||
dependencies.diff
|
||||
soversion.diff
|
||||
)
|
||||
|
||||
vcpkg_check_features(OUT_FEATURE_OPTIONS FEATURE_OPTIONS
|
||||
|
|
|
|||
|
|
@ -0,0 +1,13 @@
|
|||
diff --git a/CMakeLists.txt b/CMakeLists.txt
|
||||
index 3b020a9..1f1dd5c 100644
|
||||
--- a/CMakeLists.txt
|
||||
+++ b/CMakeLists.txt
|
||||
@@ -97,7 +97,7 @@ set(THREADS_PREFER_PTHREAD_FLAG ON)
|
||||
find_package(Threads REQUIRED)
|
||||
|
||||
add_library(juice ${LIBJUICE_SOURCES})
|
||||
-set_target_properties(juice PROPERTIES VERSION ${PROJECT_VERSION})
|
||||
+set_target_properties(juice PROPERTIES VERSION ${PROJECT_VERSION} SOVERSION ${PROJECT_VERSION_MAJOR})
|
||||
target_include_directories(juice PUBLIC
|
||||
$<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/include>
|
||||
$<INSTALL_INTERFACE:include>)
|
||||
|
|
@ -1,9 +1,10 @@
|
|||
{
|
||||
"name": "libjuice",
|
||||
"version": "1.7.2",
|
||||
"port-version": 1,
|
||||
"description": "The library is a simplified implementation of the Interactive Connectivity Establishment (ICE) protocol in C for POSIX platforms (including Linux and Apple macOS) and Microsoft Windows.",
|
||||
"homepage": "https://github.com/paullouisageneau/libjuice",
|
||||
"license": "LGPL-2.1-only",
|
||||
"license": "MPL-2.0",
|
||||
"dependencies": [
|
||||
{
|
||||
"name": "vcpkg-cmake",
|
||||
|
|
|
|||
|
|
@ -5238,7 +5238,7 @@
|
|||
},
|
||||
"libjuice": {
|
||||
"baseline": "1.7.2",
|
||||
"port-version": 0
|
||||
"port-version": 1
|
||||
},
|
||||
"libjxl": {
|
||||
"baseline": "0.11.2",
|
||||
|
|
|
|||
|
|
@ -1,5 +1,10 @@
|
|||
{
|
||||
"versions": [
|
||||
{
|
||||
"git-tree": "59feec3870fce9408e58b9f5a5c51bbb95b00a22",
|
||||
"version": "1.7.2",
|
||||
"port-version": 1
|
||||
},
|
||||
{
|
||||
"git-tree": "82db1377df8a430ee955ff2994c29bd342da2f1b",
|
||||
"version": "1.7.2",
|
||||
|
|
|
|||
Loading…
Reference in New Issue