Fix qbs build with MSVC

Change-Id: Ifd6ef279c09d9ec4fb08333b3e9aad8211e42a5e
Reviewed-by: Joerg Bornemann <joerg.bornemann@digia.com>
This commit is contained in:
Orgad Shaneh
2012-09-27 11:40:09 +02:00
committed by Joerg Bornemann
parent 2207a9a987
commit a5b2d8f5c0
2 changed files with 3 additions and 0 deletions

View File

@@ -8,6 +8,7 @@ QtcLibrary {
".", ".",
".." ".."
] ]
cpp.defines: base.concat("AGGREGATION_LIBRARY")
Depends { name: "cpp" } Depends { name: "cpp" }
Depends { name: "Qt.core" } Depends { name: "Qt.core" }

View File

@@ -8,6 +8,8 @@ QtcLibrary {
Depends { name: "Qt.network" } Depends { name: "Qt.network" }
cpp.includePaths: "." cpp.includePaths: "."
cpp.defines: base.concat("ZEROCONF_LIBRARY")
Properties { Properties {
condition: qbs.targetOS == "windows" condition: qbs.targetOS == "windows"
cpp.dynamicLibraries: "ws2_32" cpp.dynamicLibraries: "ws2_32"