Skip to content

Commit

Permalink
Remove java requirement from cmake
Browse files Browse the repository at this point in the history
It was leftover from the failed protoc stuff
  • Loading branch information
ThadHouse committed Nov 15, 2024
1 parent c289562 commit 319b5dd
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 319b5dd

Please sign in to comment.