diff --git a/java/CMakeLists.txt b/java/CMakeLists.txt index a27106c8e..69d7a265b 100644 --- a/java/CMakeLists.txt +++ b/java/CMakeLists.txt @@ -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()