blob: 268dc32d564c56487af4ed01a3d8448da240bbfc (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
|
--- libmetis/CMakeLists.txt.orig 2011-06-22 13:47:13.000000000 -0400
+++ libmetis/CMakeLists.txt 2012-07-07 11:05:47.000000000 -0400
@@ -4,6 +4,9 @@
file(GLOB metis_sources *.c)
# Build libmetis.
add_library(metis ${METIS_LIBRARY_TYPE} ${GKlib_sources} ${metis_sources})
+if(SHARED)
+ set_target_properties(metis PROPERTIES SOVERSION ${SHLIB_MAJOR})
+endif()
if(UNIX)
target_link_libraries(metis m)
endif()
|