Add wpiutil library dependency to builds.

This commit is contained in:
Peter Johnson
2016-09-10 12:06:18 -07:00
parent 52c8743b36
commit 451c08ef7b
2 changed files with 8 additions and 0 deletions

View File

@@ -9,6 +9,11 @@ def cameraserverSetupModel = { project ->
targetPlatform 'x64'
}
setupDefines(project, binaries)
binaries.all {
tasks.withType(CppCompile) {
project.addWpiUtilLibraryLinks(it, linker, targetPlatform)
}
}
if (includeJava) {
project.setupJniIncludes(binaries)

View File

@@ -21,6 +21,9 @@ model {
binaries.all {
lib project: ':gmock', library: 'gmock', linkage: 'static'
lib library: 'cameraserver', linkage: 'static'
tasks.withType(CppCompile) {
project.addWpiUtilLibraryLinks(it, linker, targetPlatform)
}
}
}
}