1
0
mirror of https://github.com/opencv/opencv.git synced 2026-07-31 00:03:03 +04:00

Fixed install terget for Android examples

This commit is contained in:
Andrey Kamaev
2011-07-25 13:17:11 +00:00
parent ac7e16fdf6
commit e7642f66d9
2 changed files with 6 additions and 2 deletions
+5 -1
View File
@@ -132,5 +132,9 @@ macro(add_android_project _target _path)
DEPENDS "${build_path}/bin/${_target}-debug.apk"
DEPENDS "${CMAKE_BINARY_DIR}/bin/${_target}.apk"
)
if("${ARGN}" STREQUAL "INSTALL" AND INSTALL_ANDROID_EXAMPLES)
install(FILES "${CMAKE_BINARY_DIR}/bin/${_target}.apk" DESTINATION "bin" COMPONENT main)
endif()
endif()
endmacro()
endmacro()