mirror of
https://github.com/opencv/opencv.git
synced 2025-06-07 17:44:04 +08:00
Merge pull request #9227 from alalek:cmake_fix_ocv_add_testdata
This commit is contained in:
commit
8e6e05ed3f
@ -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}
|
||||||
)
|
)
|
||||||
|
Loading…
Reference in New Issue
Block a user