freebsd-ports/graphics/diplib/files/patch-CMakeLists.txt

12 lines
414 B
Plaintext

--- CMakeLists.txt.orig 2022-10-18 02:45:06 UTC
+++ CMakeLists.txt
@@ -95,7 +95,7 @@ add_subdirectory(src)
### DIPjavaio
-find_package(Java 1.7 COMPONENTS Development)
+#find_package(Java 1.7 COMPONENTS Development)
if(JAVA_FOUND)
# Set JAVA_HOME so that the JNI found is from the same JDK as the Java package
get_filename_component(JAVA_HOME "${Java_JAVAC_EXECUTABLE}" DIRECTORY) # strip off /javac