ports/textproc/zorba/files/patch-test-rbkt-modules-java_CMakeLists.txt
Pietro Cerutti 2a6ea84ccb - Update to 2.6.0
ChangeLog: https://launchpadlibrarian.net/112669217/ChangeLog
- Trim Makefile header
2012-09-26 12:55:33 +00:00

16 lines
615 B
Text

--- test/rbkt/modules/java/CMakeLists.txt.orig 2012-09-25 09:26:34.000000000 +0200
+++ test/rbkt/modules/java/CMakeLists.txt 2012-09-25 09:27:23.000000000 +0200
@@ -16,6 +16,8 @@
# on the JVM claspath. This test scenario should be extended to include a
# Zorba module using the .jar, etc.
# We make use of the much-improved Java support added in CMake 2.8.6.
+
+IF (WITH_JAVA)
COMPARE_VERSION_STRINGS (${CMAKE_VERSION} "2.8.6" RESULT)
IF (${RESULT} GREATER -1)
FIND_PACKAGE (Java COMPONENTS Development)
@@ -34,3 +36,4 @@
ENDIF (Java_Development_FOUND)
ENDIF (${RESULT} GREATER -1)
+ENDIF (WITH_JAVA)