meson build does not install nlohmann_json*.cmake files
Nobody has claimed this yet.
- Dominant language
- C++
- Stars
- 50.6k
- Forks
- 7.5k
- Avg merge
- 4d 17h
- Merged PRs (30d)
- 58
Description
Description
Issue identified that meson build does not install nlohmann_json*.cmake files into /usr/share/cmake/nlohmann_json, so packages expecting these .cmake files are unable to build.
Ref: https://github.com/LibreELEC/LibreELEC.tv/pull/7250
we have reverted back to cmake builds for the time being. ** Our package build system prefers meson over cmake
Reproduction steps
Complete a meson build
Expected vs. actual results
Use a cmake build
Minimal code example
Na
Error messages
Na
Compiler and operating system
LibreELEC :master / gcc 12.2
Library version
3.11.2
Validation
- The bug also occurs if the latest version from the
developbranch is used. - I can successfully compile and run the unit tests.
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
Start by reproducing a Meson build and inspecting its installation configuration for nlohmann_json*.cmake files. Compare the Meson installation result with the CMake build and verify that the files are installed under /usr/share/cmake/nlohmann_json so packages depending on them can build.
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
- 38/100