Skip to content

Commit

Permalink
When finding JNI don't request non-existent component.
Browse files Browse the repository at this point in the history
  • Loading branch information
MarkCallow committed Nov 4, 2022
1 parent a64ebd4 commit 48b455c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion interface/java_binding/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ if(DEFINED CMAKE_FIND_FRAMEWORK)
set(SAVED_CMAKE_FIND_FRAMEWORK ${CMAKE_FIND_FRAMEWORK})
endif()
set(CMAKE_FIND_FRAMEWORK NEVER)
find_package(JNI 11 REQUIRED COMPONENTS Development)
find_package(JNI 11 REQUIRED)
if(DEFINED SAVED_CMAKE_FIND_FRAMEWORK)
set(CMAKE_FIND_FRAMEWORK ${SAVED_CMAKE_FIND_FRAMEWORK})
endif()
Expand Down

0 comments on commit 48b455c

Please sign in to comment.