mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-29 02:21:44 +00:00
Add OpenCV library links to example executables.
This commit is contained in:
@@ -64,6 +64,7 @@ def cameraserverSetupExamplesModel = { project ->
|
||||
setupDefines(project, binaries)
|
||||
binaries.all {
|
||||
tasks.withType(CppCompile) {
|
||||
project.addOpenCvLibraryLinks(it, linker, targetPlatform)
|
||||
project.addWpiUtilLibraryLinks(it, linker, targetPlatform)
|
||||
}
|
||||
}
|
||||
@@ -92,6 +93,7 @@ def cameraserverSetupExamplesModel = { project ->
|
||||
setupDefines(project, binaries)
|
||||
binaries.all {
|
||||
tasks.withType(CppCompile) {
|
||||
project.addOpenCvLibraryLinks(it, linker, targetPlatform)
|
||||
project.addWpiUtilLibraryLinks(it, linker, targetPlatform)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user