You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/sci-libs/ginkgo/files/ginkgo-1.1.1-set_soname.patch

15 lines
673 B

diff --git a/cmake/build_helpers.cmake b/cmake/build_helpers.cmake
index 8a8ad04..03c6db6 100644
--- a/cmake/build_helpers.cmake
+++ b/cmake/build_helpers.cmake
@@ -17,6 +17,9 @@ function(ginkgo_compile_features name)
if(GINKGO_WITH_IWYU AND GINKGO_IWYU_PATH)
set_property(TARGET "${name}" PROPERTY CXX_INCLUDE_WHAT_YOU_USE ${GINKGO_IWYU_PATH})
endif()
+ # Set an appropriate SONAME
+ set_property(TARGET "${name}" PROPERTY
+ SOVERSION "${Ginkgo_VERSION}")
if(GINKGO_CHANGED_SHARED_LIBRARY)
# Put all shared libraries and corresponding imported libraries into the specified path
set_property(TARGET "${name}" PROPERTY