From b44d6c3186971bd8b1b6521d0e39259c3cafa671 Mon Sep 17 00:00:00 2001 From: Ghislain MARY Date: Mon, 14 Mar 2016 12:08:02 +0100 Subject: [PATCH] Fix build with old CMake versions. --- java/CMakeLists.txt | 1 - 1 file changed, 1 deletion(-) 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()