Commit 8e6e05ed authored by Alexander Alekhin's avatar Alexander Alekhin

Merge pull request #9227 from alalek:cmake_fix_ocv_add_testdata

parents c512bf6c 07334bc2
...@@ -1116,7 +1116,7 @@ macro(ocv_add_testdata basedir dest_subdir) ...@@ -1116,7 +1116,7 @@ macro(ocv_add_testdata basedir dest_subdir)
endif() endif()
if(INSTALL_TESTS) if(INSTALL_TESTS)
install(DIRECTORY ${basedir}/ install(DIRECTORY ${basedir}/
DESTINATION ${OPENCV_TEST_DATA_INSTALL_PATH}/contrib/text DESTINATION ${OPENCV_TEST_DATA_INSTALL_PATH}/${dest_subdir}
COMPONENT "tests" COMPONENT "tests"
${ARGN} ${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