File: install-cmake-bits-to-DATADIR.patch

package info (click to toggle)
cccl 2.4.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 41,200 kB
  • sloc: cpp: 236,258; python: 6,415; sh: 2,407; perl: 460; makefile: 114; xml: 13
file content (17 lines) | stat: -rw-r--r-- 552 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
Author: Andreas Beckmann <anbe@debian.org>
Description: install *.cmake to CMAKE_INSTALL_DATADIR

--- a/cmake/CCCLInstallRules.cmake
+++ b/cmake/CCCLInstallRules.cmake
@@ -1,9 +1,9 @@
-# Bring in CMAKE_INSTALL_LIBDIR
+# Bring in CMAKE_INSTALL_DATADIR
 include(GNUInstallDirs)
 
 # CCCL has no installable binaries, no need to build before installing:
 set(CMAKE_SKIP_INSTALL_ALL_DEPENDENCY TRUE)
 
 install(DIRECTORY "${CCCL_SOURCE_DIR}/lib/cmake/cccl"
-  DESTINATION "${CMAKE_INSTALL_LIBDIR}/cmake/"
+  DESTINATION "${CMAKE_INSTALL_DATADIR}/cmake"
 )