KhronosGroup / KhronosGroup/OpenCL-Headers
install *.pc below CMAKE_INSTALL_DATADIR
- Dominant language
- C
- Stars
- 766
- Forks
- 273
- Avg merge
- 2d 2h
- Merged PRs (30d)
- 3
Description
Since these headers are architecture independent, please install the pkgconfig file in the architecture independent location below `CMAKE_INSTALL_DATADIR` (effectively `/usr/share/pkgconfig/`) like it is already done with the *.cmake files instead of the architecture dependent location below `CMAKE_INSTALL_LIBDIR` (on Debian/amd64 `/usr/lib/x86_64-linux-gnu/pkgconfig/`)
May affect the clhpp headers, too.
Contributor guide
No contributing guide indexed for this repository
Research direction
Locate the CMake install rules for the *.pc and *.cmake files, then check how CMAKE_INSTALL_DATADIR and CMAKE_INSTALL_LIBDIR are used. Update the pkgconfig destination for the architecture-independent headers, verify whether the clhpp headers use the same rules, and confirm the generated installation paths.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- c, cmake
- Domain
- build-system
- Issue type
- Feature
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 48/100