|
|
|
@ -582,6 +582,7 @@ if(ANDROID) |
|
|
|
|
ocv_update(OPENCV_INCLUDE_INSTALL_PATH sdk/native/jni/include) |
|
|
|
|
ocv_update(OPENCV_SAMPLES_SRC_INSTALL_PATH samples/native) |
|
|
|
|
ocv_update(OPENCV_OTHER_INSTALL_PATH sdk/etc) |
|
|
|
|
ocv_update(OPENCV_LICENSES_INSTALL_PATH "${OPENCV_OTHER_INSTALL_PATH}/licenses") |
|
|
|
|
else() |
|
|
|
|
set(LIBRARY_OUTPUT_PATH "${OpenCV_BINARY_DIR}/lib") |
|
|
|
|
ocv_update(3P_LIBRARY_OUTPUT_PATH "${OpenCV_BINARY_DIR}/3rdparty/lib${LIB_SUFFIX}") |
|
|
|
@ -597,6 +598,7 @@ else() |
|
|
|
|
ocv_update(OPENCV_JAR_INSTALL_PATH java) |
|
|
|
|
ocv_update(OPENCV_OTHER_INSTALL_PATH etc) |
|
|
|
|
ocv_update(OPENCV_CONFIG_INSTALL_PATH ".") |
|
|
|
|
ocv_update(OPENCV_LICENSES_INSTALL_PATH "${OPENCV_OTHER_INSTALL_PATH}/licenses") |
|
|
|
|
else() |
|
|
|
|
include(GNUInstallDirs) |
|
|
|
|
ocv_update(OPENCV_LIB_INSTALL_PATH ${CMAKE_INSTALL_LIBDIR}) |
|
|
|
@ -604,6 +606,7 @@ else() |
|
|
|
|
ocv_update(OPENCV_SAMPLES_SRC_INSTALL_PATH share/OpenCV/samples) |
|
|
|
|
ocv_update(OPENCV_JAR_INSTALL_PATH share/OpenCV/java) |
|
|
|
|
ocv_update(OPENCV_OTHER_INSTALL_PATH share/OpenCV) |
|
|
|
|
ocv_update(OPENCV_LICENSES_INSTALL_PATH "${CMAKE_INSTALL_DATAROOTDIR}/licenses/opencv3") |
|
|
|
|
|
|
|
|
|
if(NOT DEFINED OPENCV_CONFIG_INSTALL_PATH) |
|
|
|
|
math(EXPR SIZEOF_VOID_P_BITS "8 * ${CMAKE_SIZEOF_VOID_P}") |
|
|
|
|