void-packages/srcpkgs/ksnip/patches/useGNUInstallDirs.patch

11 lines
314 B
Diff

--- src/CMakeLists.txt 2019-03-14 18:04:48.000000000 +0100
+++ - 2019-08-29 21:09:44.259815517 +0200
@@ -109,5 +109,6 @@
endif ()
if (UNIX AND NOT APPLE)
- install(TARGETS ksnip RUNTIME DESTINATION /bin)
+ include (GNUInstallDirs)
+ install(TARGETS ksnip RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR})
endif ()