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

Android do not request cmake JNI package

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