Fix
This commit is contained in:
parent
df6ec4036b
commit
2452472b13
1 changed files with 1 additions and 3 deletions
|
@ -25,9 +25,7 @@ else()
|
||||||
COMMAND "${CMAKE_CURRENT_LIST_DIR}/generate-swig.sh"
|
COMMAND "${CMAKE_CURRENT_LIST_DIR}/generate-swig.sh"
|
||||||
COMMENT "Generating sources...")
|
COMMENT "Generating sources...")
|
||||||
endif()
|
endif()
|
||||||
add_custom_target(OsmAndJNI_swig
|
add_custom_target(OsmAndJNI_swig)
|
||||||
DEPENDS "${CMAKE_CURRENT_LIST_DIR}/c-src/swig.cpp"
|
|
||||||
)
|
|
||||||
set_source_files_properties("${CMAKE_CURRENT_LIST_DIR}/c-src/swig.cpp" PROPERTIES GENERATED TRUE)
|
set_source_files_properties("${CMAKE_CURRENT_LIST_DIR}/c-src/swig.cpp" PROPERTIES GENERATED TRUE)
|
||||||
|
|
||||||
if(CMAKE_SHARED_LIBS_ALLOWED_ON_TARGET)
|
if(CMAKE_SHARED_LIBS_ALLOWED_ON_TARGET)
|
||||||
|
|
Loading…
Reference in a new issue