Skip to content

Commit

Permalink
[build] Remove java requirement from cmake (#7395)
Browse files Browse the repository at this point in the history
It was leftover from the failed protoc stuff
  • Loading branch information
ThadHouse authored Nov 15, 2024
1 parent c289562 commit 453335e
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -132,9 +132,6 @@ if(WITH_JAVA OR WITH_JAVA_SOURCE)
set(CMAKE_JAVA_COMPILE_FLAGS "-encoding" "UTF8" "-Xlint:unchecked")
find_package(Java REQUIRED COMPONENTS Development)
find_package(JNI REQUIRED COMPONENTS JVM)
else()
# Protoc requires the java runtime
find_package(Java REQUIRED COMPONENTS Runtime)
endif()

if(WITH_DOCS)
Expand Down

0 comments on commit 453335e

Please sign in to comment.