Add OpenCV library links to example executables.

This commit is contained in:
Peter Johnson
2016-10-28 00:53:44 -07:00
parent 4eac3fe9a0
commit fa2ce40084

View File

@@ -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)
}
}