Skip to content

Commit 8e6e05e

Browse files
committed
Merge pull request opencv#9227 from alalek:cmake_fix_ocv_add_testdata
2 parents c512bf6 + 07334bc commit 8e6e05e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cmake/OpenCVUtils.cmake

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1116,7 +1116,7 @@ macro(ocv_add_testdata basedir dest_subdir)
11161116
endif()
11171117
if(INSTALL_TESTS)
11181118
install(DIRECTORY ${basedir}/
1119-
DESTINATION ${OPENCV_TEST_DATA_INSTALL_PATH}/contrib/text
1119+
DESTINATION ${OPENCV_TEST_DATA_INSTALL_PATH}/${dest_subdir}
11201120
COMPONENT "tests"
11211121
${ARGN}
11221122
)

0 commit comments

Comments
 (0)