| 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() |