Hardcoded /lib/cmake path breaks on /lib64 systems
Open
- Dominant language
- LLVM
- Stars
- 729
- Forks
- 110
- Avg merge
- 17h 51m
- Merged PRs (30d)
- 23
Description
Clear Linux, a 64-bit distribution, uses `/usr/lib64` for libraries and `/usr/lib64/cmake` for corresponding cmake helpers in. Hard-coding `/lib/cmake` breaks builds in this environment, and in any others that reserve `/usr/lib` for 32-bit fallback libraries.
https://github.com/google/clspv/blob/55000a5855e802c3986a0b29320bd725602e890d/lib/CMakeLists.txt#L142-L148
https://github.com/google/clspv/blob/55000a5855e802c3986a0b29320bd725602e890d/tools/clspv-opt/CMakeLists.txt#L47-L50
Contributor guide
Assessment
This issue has not been assessed yet.