Commit 07334bc2 authored by Alexander Alekhin's avatar Alexander Alekhin

cmake: fix ocv_add_testdata() hardcoded path

parent 8741d97a
......@@ -1116,7 +1116,7 @@ macro(ocv_add_testdata basedir dest_subdir)
endif()
if(INSTALL_TESTS)
install(DIRECTORY ${basedir}/
DESTINATION ${OPENCV_TEST_DATA_INSTALL_PATH}/contrib/text
DESTINATION ${OPENCV_TEST_DATA_INSTALL_PATH}/${dest_subdir}
COMPONENT "tests"
${ARGN}
)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment