Skip to content

Commit

Permalink
Merge branch 'android-ndk-only' of https://github.com/StephenCWills/l…
Browse files Browse the repository at this point in the history
…ibzt into StephenCWills-android-ndk-only
  • Loading branch information
joseph-henry committed Jan 12, 2022
2 parents 876cefd + f197170 commit 7b2bbc1
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -457,7 +457,11 @@ endif()
# | JNI |
# ------------------------------------------------------------------------------

if(ZTS_ENABLE_JAVA OR BUILD_ANDROID)
if(BUILD_ANDROID)
option(ZTS_NDK_ONLY "Use C API callbacks on Android" FALSE)
endif()

if(ZTS_ENABLE_JAVA OR (BUILD_ANDROID AND NOT ZTS_NDK_ONLY))
message(STATUS "Looking for JNI")

if(BUILD_WIN)
Expand Down

0 comments on commit 7b2bbc1

Please sign in to comment.