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

package info (click to toggle)
cccl 2.3.2-3
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 90,016 kB
  • sloc: cpp: 697,662; ansic: 26,964; python: 11,928; sh: 3,284; asm: 2,154; 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"
 )