mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-07-02 02:51:42 +00:00
Add wpiutil library dependency to builds.
This commit is contained in:
@@ -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)
|
||||
|
||||
@@ -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)
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user