CMake dependency fails to find vulkan when invoked through meson
- Dominant language
- Python
- Stars
- 6.6k
- Forks
- 1.9k
- Avg merge
- 2d 6h
- Merged PRs (30d)
- 33
Description
**Describe the bug**
A dependency (WickedEngine) only provides `*Config.cmake` but not `Find*.cmake`. I set `CMAKE_MODULE_PATH` and Meson fails to find the dependency.
**To Reproduce**
It is a bit complicated. You need to build https://github.com/turanszkij/WickedEngine, and attempt to set CMAKE_MODULE_PATH to the `build/cmake` directory in a new project and use `dependency('WickedEngine')`.
**Expected behavior**
Meson detects the `*Config.cmake` and sets up dependency.
**system parameters**
* Is this a [cross build](https://mesonbuild.com/Cross-compilation.html) or just a plain native build (for the same computer)? **No**
* what operating system (e.g. MacOS Catalina, Windows 10, CentOS 8.0, Ubuntu 18.04, etc.) **Ubuntu 21.04**
* what Python version are you using e.g. 3.8.0 **3.9.5**
* what `meson --version` **0.56.2**
Contributor guide
Assessment
This issue has not been assessed yet.