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/metis/files/metis-5.1.0-shared-GKlib.patch

22 lines
590 B

--- a/GKlib/CMakeLists.txt
+++ b/GKlib/CMakeLists.txt
@@ -7,7 +7,7 @@
include(GKlibSystem.cmake)
include_directories(".")
-add_library(GKlib STATIC ${GKlib_sources})
+add_library(GKlib SHARED ${GKlib_sources})
if(UNIX)
target_link_libraries(GKlib m)
endif(UNIX)
@@ -16,6 +16,6 @@
add_subdirectory("test")
install(TARGETS GKlib
- ARCHIVE DESTINATION lib
- LIBRARY DESTINATION lib)
-install(FILES ${GKlib_includes} DESTINATION include)
+ ARCHIVE DESTINATION lib${LIB_SUFFIX}
+ LIBRARY DESTINATION lib${LIB_SUFFIX})
+install(FILES ${GKlib_includes} DESTINATION include/metis)