diff options
Diffstat (limited to 'tests/auto/blackbox/testdata/protobuf/addressbook_cpp.qbs')
-rw-r--r-- | tests/auto/blackbox/testdata/protobuf/addressbook_cpp.qbs | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/tests/auto/blackbox/testdata/protobuf/addressbook_cpp.qbs b/tests/auto/blackbox/testdata/protobuf/addressbook_cpp.qbs index bbe4c7484..5e6ffc508 100644 --- a/tests/auto/blackbox/testdata/protobuf/addressbook_cpp.qbs +++ b/tests/auto/blackbox/testdata/protobuf/addressbook_cpp.qbs @@ -1,9 +1,14 @@ import qbs CppApplication { + condition: { + var result = qbs.targetPlatform === qbs.hostPlatform; + if (!result) + console.info("targetPlatform differs from hostPlatform"); + return result && hasProtobuf; + } name: "addressbook_cpp" consoleApplication: true - condition: hasProtobuf Depends { name: "cpp" } cpp.cxxLanguageVersion: "c++11" |