opencv_ts is removed for java API
This commit is contained in:
parent
4d09d62f85
commit
71729a5967
@ -151,14 +151,13 @@ add_custom_target(${api_target} DEPENDS ${java_files} ${documented_java_files} $
|
|||||||
add_library(${the_module} SHARED ${handwrittren_h_sources} ${handwrittren_cpp_sources} ${generated_cpp_sources})
|
add_library(${the_module} SHARED ${handwrittren_h_sources} ${handwrittren_cpp_sources} ${generated_cpp_sources})
|
||||||
if(BUILD_FAT_JAVA_LIB)
|
if(BUILD_FAT_JAVA_LIB)
|
||||||
set(__deps ${OPENCV_MODULE_${the_module}_DEPS} ${OPENCV_MODULES_BUILD})
|
set(__deps ${OPENCV_MODULE_${the_module}_DEPS} ${OPENCV_MODULES_BUILD})
|
||||||
list(REMOVE_ITEM __deps ${the_module})
|
list(REMOVE_ITEM __deps ${the_module} opencv_ts)
|
||||||
ocv_list_unique(__deps)
|
ocv_list_unique(__deps)
|
||||||
set(__extradeps ${__deps})
|
set(__extradeps ${__deps})
|
||||||
ocv_list_filterout(__extradeps "^opencv_")
|
ocv_list_filterout(__extradeps "^opencv_")
|
||||||
if(__extradeps)
|
if(__extradeps)
|
||||||
list(REMOVE_ITEM __deps ${__extradeps})
|
list(REMOVE_ITEM __deps ${__extradeps})
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
target_link_libraries(${the_module} -Wl,-whole-archive ${__deps} -Wl,-no-whole-archive ${__extradeps} ${OPENCV_LINKER_LIBS})
|
target_link_libraries(${the_module} -Wl,-whole-archive ${__deps} -Wl,-no-whole-archive ${__extradeps} ${OPENCV_LINKER_LIBS})
|
||||||
else()
|
else()
|
||||||
target_link_libraries(${the_module} ${OPENCV_MODULE_${the_module}_DEPS} ${OPENCV_LINKER_LIBS})
|
target_link_libraries(${the_module} ${OPENCV_MODULE_${the_module}_DEPS} ${OPENCV_LINKER_LIBS})
|
||||||
|
Loading…
Reference in New Issue
Block a user