Skip to content

Meson: Fix use as subproject on Windows

Chun-wei Fan requested to merge fix-subproject-windows into master

Hi,

From the commit message:

The path that we put into mm-common-get2 for pkgdatadir need to be normalized if we are building on cmd.exe consoles on Windows, such as for Visual Studio and clang-cl builds.

Use Meson's fs.as_posix() to help us here.

Fixes https://github.com/libsigcplusplus/libsigcplusplus/issues/89.

With blessings, thank you!

Merge request reports