NVIDIA / NVIDIA/cccl

install cmake bits to DATADIR instead of LIBDIR

Open
#825 4 comments 0 reactions 0 assignees View on GitHub
thrust
Dominant language
C++
Stars
2.5k
Forks
487
Avg merge
2d 7h
Merged PRs (30d)
296

Description

`thrust` and `cub` are architecture-independent header-only libraries, therefore their `*.cmake` bits should be placed under `/usr/share/cmake/` instead of `/usr/lib*/cmake/` (which is the architecture dependent `/usr/lib//cmake/` on Debian and derivatives).
Please switch from `CMAKE_INSTALL_LIBDIR` to `CMAKE_INSTALL_DATADIR`. This also avoids embedding an architecture-dependent path in the generated `thrust-header-search.cmake` and `cub-header-search.cmake`

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.