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:
Ruslan Baratov
2015-06-17 12:11:11 +02:00
parent 01c3ed6157
commit 0fcc5face3

View File

@@ -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")