Commit b44d6c31 authored by Ghislain MARY's avatar Ghislain MARY
Browse files

Fix build with old CMake versions.

parent af3e2796
......@@ -52,6 +52,5 @@ if(ANDROID)
# HACK: accessing mediastreamer2 source directory from here is just wrong!
add_custom_target(linphonecore-jni-header
COMMAND ${Java_JAVAH_EXECUTABLE} -o "${CMAKE_BINARY_DIR}/linphonecore_jni.h" -classpath "${CMAKE_CURRENT_SOURCE_DIR}/impl:${CMAKE_CURRENT_SOURCE_DIR}/common:${CMAKE_CURRENT_SOURCE_DIR}/../mediastreamer2/java/src" ${JNI_CLASSES}
BYPRODUCTS "${CMAKE_BINARY_DIR}/linphonecore_jni.h"
)
endif()
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment