install cmake bits to DATADIR instead of LIBDIR
Open
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
Assessment
This issue has not been assessed yet.