2010-05-11 17:44:00 +00:00
|
|
|
file(GLOB HAAR_CASCADES haarcascades/*.xml)
|
|
|
|
file(GLOB LBP_CASCADES lbpcascades/*.xml)
|
|
|
|
|
2012-06-28 17:23:50 +00:00
|
|
|
if(ANDROID)
|
2014-01-17 16:30:31 +04:00
|
|
|
install(FILES ${HAAR_CASCADES} DESTINATION sdk/etc/haarcascades COMPONENT libs)
|
|
|
|
install(FILES ${LBP_CASCADES} DESTINATION sdk/etc/lbpcascades COMPONENT libs)
|
2012-06-28 17:23:50 +00:00
|
|
|
elseif(NOT WIN32)
|
2014-01-17 16:30:31 +04:00
|
|
|
install(FILES ${HAAR_CASCADES} DESTINATION share/OpenCV/haarcascades COMPONENT libs)
|
|
|
|
install(FILES ${LBP_CASCADES} DESTINATION share/OpenCV/lbpcascades COMPONENT libs)
|
2010-05-11 17:44:00 +00:00
|
|
|
endif()
|
2014-01-27 14:20:30 +04:00
|
|
|
|
2014-01-28 14:05:26 +04:00
|
|
|
if(INSTALL_TESTS AND OPENCV_TEST_DATA_PATH)
|
2014-12-12 18:47:41 +03:00
|
|
|
install(DIRECTORY "${OPENCV_TEST_DATA_PATH}/" DESTINATION "${OPENCV_TEST_DATA_INSTALL_PATH}" COMPONENT "tests")
|
2014-01-27 14:20:30 +04:00
|
|
|
endif()
|