Skip to content

Commit 07334bc

Browse files
committed
cmake: fix ocv_add_testdata() hardcoded path
1 parent 8741d97 commit 07334bc

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)