projects
/
profile
/
ivi
/
opencv.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ab2ae86
)
Fixed Android target setup for OpenCv library project
author
Andrey Kamaev
<no@email>
Thu, 1 Dec 2011 12:27:03 +0000
(12:27 +0000)
committer
Andrey Kamaev
<no@email>
Thu, 1 Dec 2011 12:27:03 +0000
(12:27 +0000)
modules/java/CMakeLists.txt
patch
|
blob
|
history
diff --git
a/modules/java/CMakeLists.txt
b/modules/java/CMakeLists.txt
index
c03ec73
..
460fe85
100644
(file)
--- a/
modules/java/CMakeLists.txt
+++ b/
modules/java/CMakeLists.txt
@@
-218,7
+218,7
@@
if(ANDROID)
if (ANT_EXECUTABLE AND ANDROID_EXECUTABLE AND ANDROID_TOOLS_Pkg_Revision GREATER 13)
add_custom_command(
TARGET ${target}
- COMMAND ${ANDROID_EXECUTABLE} update lib-project --path "${CMAKE_BINARY_DIR}"
+ COMMAND ${ANDROID_EXECUTABLE} update lib-project --
target "${ANDROID_SDK_TARGET}" --
path "${CMAKE_BINARY_DIR}"
COMMAND ${ANT_EXECUTABLE} debug
WORKING_DIRECTORY "${CMAKE_BINARY_DIR}"
DEPENDS ${lib_target}