Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
BC
public
lime
Commits
111734a1
Commit
111734a1
authored
Feb 05, 2019
by
johan
Browse files
Android do not request cmake JNI package
parent
002c306d
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
5 deletions
+8
-5
CMakeLists.txt
CMakeLists.txt
+8
-5
No files found.
CMakeLists.txt
View file @
111734a1
...
@@ -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
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment