Added interface libraries for android opencv_java

This commit is contained in:
Maksim Shabunin 2015-06-16 16:40:18 +03:00
parent 48cc53bf2e
commit c79ad45fce

View File

@ -369,6 +369,7 @@ set_target_properties(${the_module} PROPERTIES
if(ANDROID)
ocv_target_link_libraries(${the_module} jnigraphics) # for Mat <=> Bitmap converters
ocv_target_link_libraries(${the_module} LINK_INTERFACE_LIBRARIES ${OPENCV_LINKER_LIBS} jnigraphics)
# force strip library after the build command
# because samples and tests will make a copy of the library before install