mirror of https://github.com/opencv/opencv.git
parent
6dffc5332d
commit
3804ca3e20
20 changed files with 104 additions and 84 deletions
@ -1,5 +1,5 @@ |
||||
@ECHO OFF |
||||
|
||||
PUSHD %~dp0.. |
||||
CALL .\scripts\build.cmd %* |
||||
CALL .\scripts\build.cmd %* -DCMAKE_BUILD_WITH_INSTALL_RPATH=ON |
||||
POPD |
@ -1,7 +1,10 @@ |
||||
file(GLOB HAAR_CASCADES haarcascades/*.xml) |
||||
file(GLOB LBP_CASCADES lbpcascades/*.xml) |
||||
|
||||
if(NOT WIN32) |
||||
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) |
||||
install(FILES ${HAAR_CASCADES} DESTINATION share/OpenCV/haarcascades COMPONENT main) |
||||
install(FILES ${LBP_CASCADES} DESTINATION share/OpenCV/lbpcascades COMPONENT main) |
||||
install(FILES ${LBP_CASCADES} DESTINATION share/OpenCV/lbpcascades COMPONENT main) |
||||
endif() |
||||
|
Loading…
Reference in new issue