From 2452472b131b9d28f1a470a6cc1d8a688b296bcf Mon Sep 17 00:00:00 2001 From: Alexey Pelykh Date: Sun, 18 Aug 2013 22:09:37 +0300 Subject: [PATCH] Fix --- OsmAnd-java/CMakeLists.txt | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/OsmAnd-java/CMakeLists.txt b/OsmAnd-java/CMakeLists.txt index ca26407a6d..769367ea55 100644 --- a/OsmAnd-java/CMakeLists.txt +++ b/OsmAnd-java/CMakeLists.txt @@ -25,9 +25,7 @@ else() COMMAND "${CMAKE_CURRENT_LIST_DIR}/generate-swig.sh" COMMENT "Generating sources...") endif() -add_custom_target(OsmAndJNI_swig - DEPENDS "${CMAKE_CURRENT_LIST_DIR}/c-src/swig.cpp" -) +add_custom_target(OsmAndJNI_swig) set_source_files_properties("${CMAKE_CURRENT_LIST_DIR}/c-src/swig.cpp" PROPERTIES GENERATED TRUE) if(CMAKE_SHARED_LIBS_ALLOWED_ON_TARGET)