Skip to content

Commit c21a2fd

Browse files
[jni] Do not require JWT (#1945)
1 parent 3229cfb commit c21a2fd

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

pkgs/jni/CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111
`Iterable`.
1212
- Added `JObject.isA`, which checks whether a `JObject` is a instance of a
1313
java class.
14+
- Do not require JWT when building for desktop.
1415

1516
## 0.13.0
1617

pkgs/jni/src/CMakeLists.txt

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,7 @@ if (ANDROID)
2929
target_link_libraries(jni log)
3030
target_link_options(jni PRIVATE "-Wl,-z,max-page-size=16384")
3131
else()
32-
find_package(Java REQUIRED)
33-
find_package(JNI REQUIRED)
32+
find_package(JNI REQUIRED COMPONENTS JVM)
3433
include_directories(${JNI_INCLUDE_DIRS})
3534
target_link_libraries(jni ${JNI_LIBRARIES})
3635
endif()

0 commit comments

Comments
 (0)