Sample3-native build fix. Dependency from OpenCV library project added. Scripts updated.

This commit is contained in:
Alexander Smorkalov
2012-06-26 13:24:12 +00:00
parent 369f2c4903
commit b962bf75cf
3 changed files with 3 additions and 3 deletions

View File

@@ -1,6 +1,6 @@
set(sample example-tutorial-3-native)
add_android_project(${sample} "${CMAKE_CURRENT_SOURCE_DIR}" SDK_TARGET 11 ${ANDROID_SDK_TARGET} NATIVE_DEPS opencv_features2d)
add_android_project(${sample} "${CMAKE_CURRENT_SOURCE_DIR}" LIBRARY_DEPS ${OpenCV_BINARY_DIR} SDK_TARGET 11 ${ANDROID_SDK_TARGET} NATIVE_DEPS opencv_features2d)
if(TARGET ${sample})
add_dependencies(opencv_android_examples ${sample})
endif()