2010-05-12 01:44:00 +08:00
|
|
|
file(GLOB HAAR_CASCADES haarcascades/*.xml)
|
|
|
|
file(GLOB LBP_CASCADES lbpcascades/*.xml)
|
|
|
|
|
2012-06-27 14:22:26 +08:00
|
|
|
if(ANDROID)
|
|
|
|
install(FILES ${HAAR_CASCADES} DESTINATION sdk/etc/haarcascades COMPONENT main)
|
|
|
|
install(FILES ${LBP_CASCADES} DESTINATION sdk/etc/lbpcascades COMPONENT main)
|
|
|
|
elseif(NOT WIN32)
|
2012-03-03 23:49:23 +08:00
|
|
|
install(FILES ${HAAR_CASCADES} DESTINATION share/OpenCV/haarcascades COMPONENT main)
|
2012-06-27 14:22:26 +08:00
|
|
|
install(FILES ${LBP_CASCADES} DESTINATION share/OpenCV/lbpcascades COMPONENT main)
|
2010-05-12 01:44:00 +08:00
|
|
|
endif()
|