blob: fddd7a148300e3d4773bbc2ea0f64acf517309df [file] [log] [blame] [edit]
diff -urN metis-5.1.0.orig/libmetis/CMakeLists.txt metis-5.1.0/libmetis/CMakeLists.txt
--- metis-5.1.0.orig/libmetis/CMakeLists.txt 2017-05-02 13:20:19.076768500 +0100
+++ metis-5.1.0/libmetis/CMakeLists.txt 2017-05-02 13:20:26.891479300 +0100
@@ -8,9 +8,15 @@
target_link_libraries(metis m)
endif()
+if(WIN32)
+ set(RT_DEST bin)
+else()
+ set(RT_DEST lib)
+endif()
+
if(METIS_INSTALL)
install(TARGETS metis
LIBRARY DESTINATION lib
- RUNTIME DESTINATION lib
+ RUNTIME DESTINATION ${RT_DEST}
ARCHIVE DESTINATION lib)
endif()