aboutsummaryrefslogtreecommitdiffstats
path: root/share/qbs/modules/protobuf/nanopb/nanopb.qbs
diff options
context:
space:
mode:
Diffstat (limited to 'share/qbs/modules/protobuf/nanopb/nanopb.qbs')
-rw-r--r--share/qbs/modules/protobuf/nanopb/nanopb.qbs2
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 {