Skip to content

Commit 453335e

Browse files
authored
[build] Remove java requirement from cmake (#7395)
It was leftover from the failed protoc stuff
1 parent c289562 commit 453335e

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

CMakeLists.txt

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -132,9 +132,6 @@ if(WITH_JAVA OR WITH_JAVA_SOURCE)
132132
set(CMAKE_JAVA_COMPILE_FLAGS "-encoding" "UTF8" "-Xlint:unchecked")
133133
find_package(Java REQUIRED COMPONENTS Development)
134134
find_package(JNI REQUIRED COMPONENTS JVM)
135-
else()
136-
# Protoc requires the java runtime
137-
find_package(Java REQUIRED COMPONENTS Runtime)
138135
endif()
139136

140137
if(WITH_DOCS)

0 commit comments

Comments
 (0)