wangle/wangle-make_version_consistent.patch
Michel Alexandre Salim 29da146b4c Update to 2022.02.28.00; drop static build
Signed-off-by: Michel Alexandre Salim <salimma@fedoraproject.org>
2022-03-02 16:06:19 -08:00

23 lines
776 B
Diff

diff '--color=auto' -ruN wangle-2022.02.28.00/wangle/CMakeLists.txt wangle-2022.02.28.00-make_version_consistent/wangle/CMakeLists.txt
--- wangle-2022.02.28.00/wangle/CMakeLists.txt 2022-02-26 14:10:46.000000000 -0800
+++ wangle-2022.02.28.00-make_version_consistent/wangle/CMakeLists.txt 2022-03-02 15:56:09.677111019 -0800
@@ -18,10 +18,6 @@
set(PACKAGE_VERSION "1.0.0")
endif()
-if (NOT DEFINED SO_VERSION)
- set(SO_VERSION 1)
-endif()
-
project("wangle" VERSION ${PACKAGE_VERSION} LANGUAGES CXX C)
if (NOT DEFINED CPACK_GENERATOR)
@@ -153,7 +149,7 @@
if (BUILD_SHARED_LIBS)
set_target_properties(wangle
- PROPERTIES VERSION ${PROJECT_VERSION} SOVERSION ${SO_VERSION})
+ PROPERTIES VERSION ${PACKAGE_VERSION})
endif()
target_include_directories(