diff options
author | Ivan Komissarov <abbapoh@gmail.com> | 2021-03-17 12:49:18 +0300 |
---|---|---|
committer | Ivan Komissarov <ABBAPOH@gmail.com> | 2021-03-18 07:55:10 +0000 |
commit | a5c9fa92c86982e0260f691ea27b790748851db6 (patch) | |
tree | f153eefb55b4fbaec23be14e4e239c7b2f29a642 /share/qbs/modules | |
parent | 0d42ca4d0f8b0866b51ac9587f68a6550ca6d3fe (diff) | |
download | qbs-a5c9fa92c86982e0260f691ea27b790748851db6.tar.gz |
protobuf: fix setting includePath in nanopb.qbs
This amends 0d42ca4d0f8b0866b51ac9587f68a6550ca6d3fe.
Change-Id: I3650056431c51ae8d67575e217bfaebcf49b4f08
Reviewed-by: Kai Dohmen <psykai1993@googlemail.com>
Reviewed-by: Denis Shienkov <denis.shienkov@gmail.com>
Diffstat (limited to 'share/qbs/modules')
-rw-r--r-- | share/qbs/modules/protobuf/nanopb/nanopb.qbs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/share/qbs/modules/protobuf/nanopb/nanopb.qbs b/share/qbs/modules/protobuf/nanopb/nanopb.qbs index ec8df7db3..86cd93600 100644 --- a/share/qbs/modules/protobuf/nanopb/nanopb.qbs +++ b/share/qbs/modules/protobuf/nanopb/nanopb.qbs @@ -72,6 +72,8 @@ ProtobufBase { Probes.IncludeProbe { id: includeProbe names: ["pb.h", "pb_encode.h", "pb_decode.h", "pb_common.h"] + platformSearchPaths: includePath ? [] : base + searchPaths: includePath ? [includePath] : [] } Probes.LibraryProbe { |