summarylogtreecommitdiffstats
path: root/fix_install_dirs.patch
blob: 1f705b6bb444ff6086aaa476d66293934a9dd384 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
diff --color -ura dethrace-0.8.0.orig/CMakeLists.txt dethrace-0.8.0.new/CMakeLists.txt
--- dethrace-0.8.0.orig/CMakeLists.txt	2024-09-19 21:35:37.000000000 +0200
+++ dethrace-0.8.0.new/CMakeLists.txt	2025-01-15 14:44:56.250408420 +0100
@@ -92,7 +92,7 @@
 
 if(DETHRACE_INSTALL)
     install(FILES LICENSE
-        DESTINATION "."
+        DESTINATION "${CMAKE_INSTALL_DATAROOTDIR}"
     )
 
     set(DETHRACE_PACKAGE_PLATFORM "" CACHE STRING "Dethrace binary package platform")
diff --color -ura dethrace-0.8.0.orig/src/DETHRACE/CMakeLists.txt dethrace-0.8.0.new/src/DETHRACE/CMakeLists.txt
--- dethrace-0.8.0.orig/src/DETHRACE/CMakeLists.txt	2024-09-19 21:35:37.000000000 +0200
+++ dethrace-0.8.0.new/src/DETHRACE/CMakeLists.txt	2025-01-15 15:25:56.276044925 +0100
@@ -200,7 +200,7 @@
 if(DETHRACE_INSTALL)
     install(TARGETS dethrace
         BUNDLE DESTINATION . COMPONENT Runtime
-        RUNTIME DESTINATION . COMPONENT Runtime
+        RUNTIME DESTINATION "${CMAKE_INSTALL_BINDIR}" COMPONENT Runtime
     )
 
     if(APPLE)