diff options
author | Ivan Komissarov <abbapoh@gmail.com> | 2023-12-21 01:02:15 +0300 |
---|---|---|
committer | Ivan Komissarov <ABBAPOH@gmail.com> | 2024-01-10 10:25:04 +0000 |
commit | 167799f31c8ca3cfd79394b6c3fe8389c7df4de1 (patch) | |
tree | 00540557d51f669a1eaa8198bc583f760ce216fb /share/qbs/modules | |
parent | 5fcdf43b3fb4e7c5fb85cbfba7f79b1d85dae410 (diff) |
qbspkgconfig: Add support for the definePrefix option
On windows/msys, it is crucial to use autodetection for package
paths - otherwise, Qbs is not able to detect e.g. protobuf
package.
The pkg-config has the --define-prefix switch that overrides
the ${prefix} variables on the package with one based on
the .pc file locaiton. Implement similar option and set it
to true on Windows.
Also fix setting sysroot to avoid duplication of sysroot
in paths when prefix is autodetected.
Change-Id: I2754e48a96cb2e5f01ecace616188782cb5b0d7a
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
Diffstat (limited to 'share/qbs/modules')
0 files changed, 0 insertions, 0 deletions