mirror of https://github.com/opencv/opencv.git
Open Source Computer Vision Library
https://opencv.org/
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
17 lines
548 B
17 lines
548 B
7 years ago
|
if(ANDROID)
|
||
|
ocv_update(OPENCV_JAVA_LIB_NAME_SUFFIX "${OPENCV_VERSION_MAJOR}")
|
||
|
ocv_update(JAVA_INSTALL_ROOT "sdk/java")
|
||
|
else()
|
||
|
ocv_update(OPENCV_JAVA_LIB_NAME_SUFFIX "${OPENCV_VERSION_MAJOR}${OPENCV_VERSION_MINOR}${OPENCV_VERSION_PATCH}")
|
||
|
endif()
|
||
|
|
||
|
# get list of modules to wrap
|
||
|
# message(STATUS "Wrapped in java:")
|
||
|
set(OPENCV_JAVA_MODULES)
|
||
|
foreach(m ${OPENCV_MODULES_BUILD})
|
||
|
if (";${OPENCV_MODULE_${m}_WRAPPERS};" MATCHES ";java;" AND HAVE_${m})
|
||
|
list(APPEND OPENCV_JAVA_MODULES ${m})
|
||
|
#message(STATUS "\t${m}")
|
||
|
endif()
|
||
|
endforeach()
|