mirror of
https://github.com/opencv/opencv.git
synced 2024-11-28 21:20:18 +08:00
cmake: exclude opencv_java (JNI) from OpenCV C++ modules list
for non-ANDROID platforms
This commit is contained in:
parent
942672ad91
commit
cc3f9323bb
@ -485,11 +485,11 @@ if(ANDROID)
|
||||
ARCHIVE DESTINATION ${OPENCV_LIB_INSTALL_PATH} COMPONENT java)
|
||||
else()
|
||||
if(NOT INSTALL_CREATE_DISTRIB)
|
||||
ocv_install_target(${the_module} OPTIONAL EXPORT OpenCVModules
|
||||
ocv_install_target(${the_module} OPTIONAL
|
||||
RUNTIME DESTINATION ${OPENCV_JAR_INSTALL_PATH} COMPONENT java
|
||||
LIBRARY DESTINATION ${OPENCV_JAR_INSTALL_PATH} COMPONENT java)
|
||||
else()
|
||||
ocv_install_target(${the_module} OPTIONAL EXPORT OpenCVModules
|
||||
ocv_install_target(${the_module} OPTIONAL
|
||||
RUNTIME DESTINATION ${OPENCV_JAR_INSTALL_PATH}/${OpenCV_ARCH} COMPONENT java
|
||||
LIBRARY DESTINATION ${OPENCV_JAR_INSTALL_PATH}/${OpenCV_ARCH} COMPONENT java)
|
||||
endif()
|
||||
|
Loading…
Reference in New Issue
Block a user