From 453335e35450e6272e4d8829b8f1a4d91a0efed8 Mon Sep 17 00:00:00 2001 From: Thad House Date: Fri, 15 Nov 2024 14:45:20 +0000 Subject: [PATCH] [build] Remove java requirement from cmake (#7395) It was leftover from the failed protoc stuff --- CMakeLists.txt | 3 --- 1 file changed, 3 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 190214e99f..350db5bbc6 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -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)