|
|
|
@ -711,7 +711,7 @@ if(INSTALL_TESTS AND OPENCV_TEST_DATA_PATH) |
|
|
|
|
configure_file("${CMAKE_CURRENT_SOURCE_DIR}/cmake/templates/opencv_run_all_tests_android.sh.in" |
|
|
|
|
"${CMAKE_BINARY_DIR}/unix-install/opencv_run_all_tests.sh" @ONLY) |
|
|
|
|
install(PROGRAMS "${CMAKE_BINARY_DIR}/unix-install/opencv_run_all_tests.sh" |
|
|
|
|
DESTINATION ${CMAKE_INSTALL_PREFIX} COMPONENT tests) |
|
|
|
|
DESTINATION ./ COMPONENT tests) |
|
|
|
|
elseif(WIN32) |
|
|
|
|
configure_file("${CMAKE_CURRENT_SOURCE_DIR}/cmake/templates/opencv_run_all_tests_windows.cmd.in" |
|
|
|
|
"${CMAKE_BINARY_DIR}/win-install/opencv_run_all_tests.cmd" @ONLY) |
|
|
|
@ -739,11 +739,11 @@ endif() |
|
|
|
|
if(ANDROID OR NOT UNIX) |
|
|
|
|
install(FILES ${OPENCV_LICENSE_FILE} |
|
|
|
|
PERMISSIONS OWNER_READ GROUP_READ WORLD_READ |
|
|
|
|
DESTINATION ${CMAKE_INSTALL_PREFIX} COMPONENT libs) |
|
|
|
|
DESTINATION ./ COMPONENT libs) |
|
|
|
|
if(OPENCV_README_FILE) |
|
|
|
|
install(FILES ${OPENCV_README_FILE} |
|
|
|
|
PERMISSIONS OWNER_READ GROUP_READ WORLD_READ |
|
|
|
|
DESTINATION ${CMAKE_INSTALL_PREFIX} COMPONENT libs) |
|
|
|
|
DESTINATION ./ COMPONENT libs) |
|
|
|
|
endif() |
|
|
|
|
endif() |
|
|
|
|
|
|
|
|
|