Blame SOURCES/metis-shared-GKlib.patch

5bbedd
--- GKlib/CMakeLists.orig.txt	2013-03-11 20:50:14.000000000 +0100
5bbedd
+++ GKlib/CMakeLists.txt	2013-03-17 19:53:44.220827579 +0100
5bbedd
@@ -7,7 +7,7 @@
5bbedd
 include(GKlibSystem.cmake)
5bbedd
 
5bbedd
 include_directories(".")
5bbedd
-add_library(GKlib STATIC ${GKlib_sources})
5bbedd
+add_library(GKlib SHARED ${GKlib_sources})
5bbedd
 if(UNIX)
5bbedd
   target_link_libraries(GKlib m)
5bbedd
 endif(UNIX)
5bbedd
@@ -16,6 +16,6 @@
5bbedd
 add_subdirectory("test")
5bbedd
 
5bbedd
 install(TARGETS GKlib
5bbedd
-  ARCHIVE DESTINATION lib
5bbedd
-  LIBRARY DESTINATION lib)
5bbedd
-install(FILES ${GKlib_includes} DESTINATION include)
5bbedd
+  ARCHIVE DESTINATION lib${LIB_SUFFIX}
5bbedd
+  LIBRARY DESTINATION lib${LIB_SUFFIX})
5bbedd
+install(FILES ${GKlib_includes} DESTINATION include/metis)