Added interface libraries for android opencv_java

pull/4132/head
Maksim Shabunin 10 years ago
parent 48cc53bf2e
commit c79ad45fce
  1. 1
      modules/java/CMakeLists.txt

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

Loading…
Cancel
Save