|
|
@ -287,7 +287,7 @@ macro(add_android_project target path) |
|
|
|
set(android_proj_NATIVE_DEPS ${android_proj_NATIVE_DEPS} android) |
|
|
|
set(android_proj_NATIVE_DEPS ${android_proj_NATIVE_DEPS} android) |
|
|
|
endif() |
|
|
|
endif() |
|
|
|
|
|
|
|
|
|
|
|
add_library(${JNI_LIB_NAME} MODULE ${android_proj_jni_files}) |
|
|
|
add_library(${JNI_LIB_NAME} SHARED ${android_proj_jni_files}) |
|
|
|
ocv_target_include_modules_recurse(${JNI_LIB_NAME} ${android_proj_NATIVE_DEPS}) |
|
|
|
ocv_target_include_modules_recurse(${JNI_LIB_NAME} ${android_proj_NATIVE_DEPS}) |
|
|
|
ocv_target_include_directories(${JNI_LIB_NAME} "${path}/jni") |
|
|
|
ocv_target_include_directories(${JNI_LIB_NAME} "${path}/jni") |
|
|
|
ocv_target_link_libraries(${JNI_LIB_NAME} ${OPENCV_LINKER_LIBS} ${android_proj_NATIVE_DEPS}) |
|
|
|
ocv_target_link_libraries(${JNI_LIB_NAME} ${OPENCV_LINKER_LIBS} ${android_proj_NATIVE_DEPS}) |
|
|
|