Commit 111734a1 authored by johan's avatar johan
Browse files

Android do not request cmake JNI package

parent 002c306d
......@@ -143,11 +143,14 @@ if(ENABLE_C_INTERFACE)
endif()
if(ENABLE_JNI)
find_package(JNI REQUIRED)
if (JNI_FOUND)
message (STATUS "JNI_INCLUDE_DIRS=${JNI_INCLUDE_DIRS}")
message (STATUS "JNI_LIBRARIES=${JNI_LIBRARIES}")
message(STATUS "Provide JNI interface")
if (NOT ANDROID)
find_package(JNI REQUIRED)
if (JNI_FOUND)
message (STATUS "JNI_INCLUDE_DIRS=${JNI_INCLUDE_DIRS}")
message (STATUS "JNI_LIBRARIES=${JNI_LIBRARIES}")
endif()
endif()
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