mirror of
https://github.com/opencv/opencv.git
synced 2025-01-18 14:13:15 +08:00
Fix build of package for Google Play
This commit is contained in:
parent
716e0192b3
commit
81832d76a8
@ -86,7 +86,7 @@ add_custom_command(
|
|||||||
COMMAND ${CMAKE_COMMAND} -E touch "${APK_NAME}"
|
COMMAND ${CMAKE_COMMAND} -E touch "${APK_NAME}"
|
||||||
WORKING_DIRECTORY "${PACKAGE_DIR}"
|
WORKING_DIRECTORY "${PACKAGE_DIR}"
|
||||||
MAIN_DEPENDENCY "${PACKAGE_DIR}/${ANDROID_MANIFEST_FILE}"
|
MAIN_DEPENDENCY "${PACKAGE_DIR}/${ANDROID_MANIFEST_FILE}"
|
||||||
DEPENDS "${OpenCV_BINARY_DIR}/bin/.classes.jar.dephelper" "${PACKAGE_DIR}/res/values/strings.xml" "${PACKAGE_DIR}/res/drawable/icon.png" ${camera_wrappers} opencv_java
|
DEPENDS "${OpenCV_BINARY_DIR}/bin/classes.jar.dephelper" "${PACKAGE_DIR}/res/values/strings.xml" "${PACKAGE_DIR}/res/drawable/icon.png" ${camera_wrappers} opencv_java
|
||||||
)
|
)
|
||||||
|
|
||||||
install(FILES "${APK_NAME}" DESTINATION "apk/" COMPONENT main)
|
install(FILES "${APK_NAME}" DESTINATION "apk/" COMPONENT main)
|
||||||
|
Loading…
Reference in New Issue
Block a user