Installed gloo looks for libgloo in build dir
Open
Nobody has claimed this yet.
- Dominant language
- C++
- Stars
- 1.5k
- Forks
- 368
- Avg merge
- 19h 32m
- Merged PRs (30d)
- 3
Description
When importing Gloo (via find_package(Gloo) ), it tells me it was not able to find libglood.a in ${BUILD_DIR}. The file is correctly installed in ${INSTALL_DIR}.
This is on Linux x86_64.
Could be solved by using include(GNUInstallDirs) and relying on CMAKE_INSTALL_LIBDIR / CMAKE_INSTALL_INCLUDEDIR
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Reproduce the issue on Linux x86_64 by installing Gloo and importing it with find_package(Gloo). Inspect the installed package configuration and how it resolves libglood.a; done means an installed consumer finds the library in INSTALL_DIR rather than looking in BUILD_DIR.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cmake, cpp
- Domain
- build-system
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100