mirror of
https://github.com/opencv/opencv.git
synced 2024-11-24 11:10:21 +08:00
cmake: fix ocv_add_testdata() hardcoded path
This commit is contained in:
parent
8741d97a4f
commit
07334bc25c
@ -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}
|
||||
)
|
||||
|
Loading…
Reference in New Issue
Block a user