Switches CameraServer on Arm to use non-included native library

This commit is contained in:
Thad House
2016-11-05 11:37:12 -07:00
parent 6d1ab7606b
commit 38a3eda6a7
3 changed files with 51 additions and 44 deletions

View File

@@ -36,9 +36,11 @@ jar {
model {
binaries {
withType(SharedLibraryBinarySpec) { binary ->
from(file(binary.sharedLibraryFile)) {
into getPlatformPath(binary)
}
// Only include the native file if not cross compiling to the roboRIO
if (!project.isArm || project.hasProperty('compilerPrefix'))
from(file(binary.sharedLibraryFile)) {
into getPlatformPath(binary)
}
}
}
}