Fix build with old CMake versions.

This commit is contained in:
Ghislain MARY 2016-03-14 12:08:02 +01:00
parent af3e279666
commit b44d6c3186

View file

@ -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()