Fix copying conan package library on Windows.
On Windows dll in bin folder, while on Unix it in lib.
This commit is contained in:
parent
5ceff228eb
commit
bd10ac3c13
|
@ -18,7 +18,7 @@ VToolApp {
|
|||
multibundle.targetApps: ["Valentina"]
|
||||
|
||||
Properties {
|
||||
condition: buildconfig.useConanPackages && buildconfig.enableMultiBundle
|
||||
condition: buildconfig.useConanPackages && qbs.targetOS.contains("macos") && buildconfig.enableMultiBundle
|
||||
conan.XercesC.libInstallDir: qbs.installPrefix + "/" + buildconfig.installLibraryPath
|
||||
conan.XercesC.installLib: true
|
||||
}
|
||||
|
|
|
@ -22,7 +22,7 @@ VToolApp {
|
|||
multibundle.targetApps: ["Valentina"]
|
||||
|
||||
Properties {
|
||||
condition: buildconfig.useConanPackages && buildconfig.enableMultiBundle
|
||||
condition: buildconfig.useConanPackages && qbs.targetOS.contains("macos") && buildconfig.enableMultiBundle
|
||||
conan.XercesC.libInstallDir: qbs.installPrefix + "/" + buildconfig.installLibraryPath
|
||||
conan.XercesC.installLib: true
|
||||
}
|
||||
|
|
|
@ -33,9 +33,19 @@ VToolApp {
|
|||
targetName: buildconfig.appTarget
|
||||
|
||||
Properties {
|
||||
condition: buildconfig.useConanPackages
|
||||
condition: buildconfig.useConanPackages && (qbs.targetOS.contains("windows") || qbs.targetOS.contains("macos"))
|
||||
conan.XercesC.libInstallDir: qbs.installPrefix + "/" + buildconfig.installLibraryPath
|
||||
conan.XercesC.installLib: true
|
||||
conan.XercesC.binInstallDir: qbs.installPrefix + "/" + buildconfig.installBinaryPath
|
||||
conan.XercesC.installLib: {
|
||||
if (qbs.targetOS.contains("windows"))
|
||||
return false
|
||||
return true
|
||||
}
|
||||
conan.XercesC.installBin: {
|
||||
if (qbs.targetOS.contains("windows"))
|
||||
return true
|
||||
return false
|
||||
}
|
||||
}
|
||||
|
||||
files: [
|
||||
|
|
Loading…
Reference in New Issue
Block a user