From d0cac8a93ad6fe3fc5f4d67c17c516835ed593fd Mon Sep 17 00:00:00 2001 From: Kirill Kornyakov Date: Mon, 25 Jul 2011 07:47:18 +0000 Subject: [PATCH] bugfix in cmake for java api --- modules/java/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/java/CMakeLists.txt b/modules/java/CMakeLists.txt index 0fec14a..76891e4 100644 --- a/modules/java/CMakeLists.txt +++ b/modules/java/CMakeLists.txt @@ -213,8 +213,8 @@ if(ANDROID) COMMAND ${CMAKE_COMMAND} -E make_directory "${CMAKE_BINARY_DIR}/res" COMMAND ${CMAKE_COMMAND} -E make_directory "${CMAKE_BINARY_DIR}/gen" DEPENDS ${lib_proj_files} - DEPENDS ${api_target} ) + add_dependencies(${lib_target} ${api_target}) add_dependencies(${target} ${lib_target}) endif(ANDROID) -- 2.7.4