summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-libs/igraph/files/igraph-0.9.0-cmakedirs.patch')
-rw-r--r--dev-libs/igraph/files/igraph-0.9.0-cmakedirs.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/dev-libs/igraph/files/igraph-0.9.0-cmakedirs.patch b/dev-libs/igraph/files/igraph-0.9.0-cmakedirs.patch
new file mode 100644
index 000000000000..a7682d41e0a4
--- /dev/null
+++ b/dev-libs/igraph/files/igraph-0.9.0-cmakedirs.patch
@@ -0,0 +1,13 @@
+--- a/src/CMakeLists.txt
++++ b/src/CMakeLists.txt
+@@ -440,8 +440,8 @@ generate_export_header(igraph
+ include(GNUInstallDirs)
+ install(
+ TARGETS igraph
+- RUNTIME DESTINATION bin
+- LIBRARY DESTINATION lib
++ RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR}
++ LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR}
+ )
+ install(
+ DIRECTORY ${CMAKE_SOURCE_DIR}/include/