Skip to content

Commit

Permalink
Merge pull request opencv#10001 from alalek:cmake_exclude_java_from_c…
Browse files Browse the repository at this point in the history
…pp_modules
  • Loading branch information
alalek committed Nov 7, 2017
2 parents 4085bbf + cc3f932 commit 888d0cd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions modules/java/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down

0 comments on commit 888d0cd

Please sign in to comment.