blob: 9feceee00f7b1f49915a2f7093161ba5882e708f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
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
|