Fix `cmake -E touch classes.jar' step
`-E touch` command doesn't create intermediate directories. We have to do it manually using `file(MAKE_DIRECTORY ...)` command.
This commit is contained in:
@@ -282,6 +282,8 @@ else()
|
||||
set(LIB_NAME_SUFIX "${OPENCV_VERSION_MAJOR}${OPENCV_VERSION_MINOR}${OPENCV_VERSION_PATCH}")
|
||||
endif()
|
||||
|
||||
file(MAKE_DIRECTORY "${OpenCV_BINARY_DIR}/bin")
|
||||
|
||||
# step 4: build jar
|
||||
if(ANDROID)
|
||||
set(JAR_FILE "${OpenCV_BINARY_DIR}/bin/classes.jar")
|
||||
|
||||
Reference in New Issue
Block a user