ports/math/metis-edf/files/patch-libmetis__CMakeLists.txt
Thierry Thomas e22be4275b Upgrade - endly! - to Code_Aster 13.4.0-3.
Notes:

- I have (not yet) succeeded to enable MFront in this version;

- it uses math/mumps-edf, repocopied from math/mumps;

- cad/scotch is now taken out of the aster tarball;

- french/eficas is no more used: to be replaced by "aster-study" in Salome_Meca
	(the port cad/salome should be resurrected!)
2017-11-14 18:29:22 +00:00

13 lines
435 B
Text

--- libmetis/CMakeLists.txt.orig 2016-04-12 14:52:48 UTC
+++ libmetis/CMakeLists.txt
@@ -5,6 +5,10 @@ file(GLOB metis_sources *.c)
file(GLOB libmetis_h *.h)
# Build libmetis.
add_library(metis ${METIS_LIBRARY_TYPE} ${GKlib_sources} ${metis_sources})
+# Patch borrowed from math/metis/files
+if(SHARED)
+ set_target_properties(metis PROPERTIES SOVERSION ${SHLIB_MAJOR})
+endif()
if(UNIX)
target_link_libraries(metis m)
endif()