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"
)
|