Browse Source

update version patch

master
R4SAS 5 years ago committed by GitHub
parent
commit
eaf4ff5f66
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 18
      miniupnpc-version.patch

18
miniupnpc-version.patch

@ -1,10 +1,10 @@ @@ -1,10 +1,10 @@
--- CMakeLists.txt.orig 2016-06-08 10:22:31.058083356 +0200
+++ CMakeLists.txt 2016-06-08 10:22:49.698117692 +0200
@@ -118,7 +118,6 @@
--- CMakeLists.txt.orig 2019-04-30 09:45:52.000000000 +0000
+++ CMakeLists.txt 2019-10-22 10:37:38.451427100 +0000
@@ -127,7 +127,6 @@ endif ()
if (UPNPC_BUILD_SHARED)
add_library (upnpc-shared SHARED ${MINIUPNPC_SOURCES})
set_target_properties (upnpc-shared PROPERTIES OUTPUT_NAME "miniupnpc")
- set_target_properties (upnpc-shared PROPERTIES VERSION ${MINIUPNPC_VERSION})
set_target_properties (upnpc-shared PROPERTIES SOVERSION ${MINIUPNPC_API_VERSION})
target_link_libraries (upnpc-shared ${LDLIBS})
set (UPNPC_INSTALL_TARGETS ${UPNPC_INSTALL_TARGETS} upnpc-shared)
add_library (libminiupnpc-shared SHARED ${MINIUPNPC_SOURCES})
set_target_properties (libminiupnpc-shared PROPERTIES OUTPUT_NAME "miniupnpc")
- set_target_properties (libminiupnpc-shared PROPERTIES VERSION ${MINIUPNPC_VERSION})
set_target_properties (libminiupnpc-shared PROPERTIES SOVERSION ${MINIUPNPC_API_VERSION})
target_link_libraries (libminiupnpc-shared PRIVATE miniupnpc-private)
target_compile_definitions(libminiupnpc-shared PRIVATE MINIUPNP_EXPORTS)

Loading…
Cancel
Save