|
|
|
@ -268,13 +268,24 @@ if(WIN32) |
|
|
|
|
message(STATUS "Can't detect runtime and/or arch") |
|
|
|
|
set(OpenCV_INSTALL_BINARIES_PREFIX "") |
|
|
|
|
endif() |
|
|
|
|
elseif(ANDROID) |
|
|
|
|
set(OpenCV_INSTALL_BINARIES_PREFIX "sdk/native/") |
|
|
|
|
else() |
|
|
|
|
set(OpenCV_INSTALL_BINARIES_PREFIX "") |
|
|
|
|
endif() |
|
|
|
|
|
|
|
|
|
set(OPENCV_SAMPLES_BIN_INSTALL_PATH "${OpenCV_INSTALL_BINARIES_PREFIX}samples") |
|
|
|
|
if(ANDROID) |
|
|
|
|
set(OPENCV_SAMPLES_BIN_INSTALL_PATH "${OpenCV_INSTALL_BINARIES_PREFIX}samples/${ANDROID_NDK_ABI_NAME}") |
|
|
|
|
else() |
|
|
|
|
set(OPENCV_SAMPLES_BIN_INSTALL_PATH "${OpenCV_INSTALL_BINARIES_PREFIX}samples") |
|
|
|
|
endif() |
|
|
|
|
|
|
|
|
|
if(ANDROID) |
|
|
|
|
set(OPENCV_BIN_INSTALL_PATH "${OpenCV_INSTALL_BINARIES_PREFIX}bin/${ANDROID_NDK_ABI_NAME}") |
|
|
|
|
else() |
|
|
|
|
set(OPENCV_BIN_INSTALL_PATH "${OpenCV_INSTALL_BINARIES_PREFIX}bin") |
|
|
|
|
endif() |
|
|
|
|
|
|
|
|
|
set(OPENCV_BIN_INSTALL_PATH "${OpenCV_INSTALL_BINARIES_PREFIX}bin") |
|
|
|
|
if(NOT OPENCV_TEST_INSTALL_PATH) |
|
|
|
|
set(OPENCV_TEST_INSTALL_PATH "${OPENCV_BIN_INSTALL_PATH}") |
|
|
|
|
endif() |
|
|
|
|