2010-05-11 17:44:00 +00:00
|
|
|
file(GLOB HAAR_CASCADES haarcascades/*.xml)
|
|
|
|
file(GLOB LBP_CASCADES lbpcascades/*.xml)
|
|
|
|
|
2012-06-27 06:22:26 +00: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 15:49:23 +00:00
|
|
|
install(FILES ${HAAR_CASCADES} DESTINATION share/OpenCV/haarcascades COMPONENT main)
|
2012-06-27 06:22:26 +00:00
|
|
|
install(FILES ${LBP_CASCADES} DESTINATION share/OpenCV/lbpcascades COMPONENT main)
|
2010-05-11 17:44:00 +00:00
|
|
|
endif()
|