void-packages/srcpkgs/ksnip/patches/useGNUInstallDirs.patch
2019-09-03 21:26:45 +03:00

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