mirror of
https://github.com/pocoproject/poco.git
synced 2025-03-04 07:27:23 +01:00
Fix PrebuildLibrary
This commit is contained in:
parent
a42c019ca5
commit
2ca964c699
@ -25,8 +25,6 @@ model {
|
||||
headers.srcDir "$mysql64Home/include"
|
||||
staticLibraryFile = file("$mysql64Home/lib/$libName")
|
||||
}
|
||||
} else {
|
||||
throw new GradleException("Unknown buildType" + buildType)
|
||||
}
|
||||
}
|
||||
binaries.withType(SharedLibraryBinary) {
|
||||
@ -59,8 +57,6 @@ model {
|
||||
sharedLibraryFile = file("$mysql64Home/lib/$dllName")
|
||||
sharedLibraryLinkFile = file("$mysql64Home/lib/$linkName")
|
||||
}
|
||||
} else {
|
||||
throw new GradleException("Unknown buildType" + buildType)
|
||||
}
|
||||
}
|
||||
}
|
||||
@ -88,7 +84,9 @@ model {
|
||||
all {
|
||||
cppCompiler.define "THREADSAFE"
|
||||
cppCompiler.define "__LCC__"
|
||||
cppCompiler.define "WINVER=0x0600"
|
||||
if (toolChain in VisualCpp) {
|
||||
cppCompiler.define "WINVER=0x0600"
|
||||
}
|
||||
}
|
||||
withType(SharedLibraryBinarySpec) {
|
||||
if (toolChain in VisualCpp) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user