--force-fallback with pcre2 fails
I'm trying to cross-compile for Windows using the instructions in the documentation. When I do meson compile -C ./build
my build fails saying pcre2.h is missing. I tried correcting this by adding --force-fallback-for pcre2
to my setup command, but I get the following error from my setup command:
Dependency libpcre2-8 from subproject subprojects/pcre2-10.42 found: YES 10.42
meson.build:2079:2: ERROR: Dependencies must be external dependencies
Am I doing something wrong, or is this fallback command somehow broken?
EDIT: To add some more context, this was building on Ubuntu running under WSL2 on Windows using glib 2.77.0.
Edited by Joshua Barnard