Chris Hillery has proposed merging 
lp:~zorba-coders/zorba/schema-tools-find-java into lp:zorba/schema-tools-module.

Requested reviews:
  Zorba Coders (zorba-coders)

For more details, see:
https://code.launchpad.net/~zorba-coders/zorba/schema-tools-find-java/+merge/108549
-- 
https://code.launchpad.net/~zorba-coders/zorba/schema-tools-find-java/+merge/108549
Your team Zorba Coders is requested to review the proposed merge of 
lp:~zorba-coders/zorba/schema-tools-find-java into lp:zorba/schema-tools-module.
=== modified file 'CMakeLists.txt'
--- CMakeLists.txt	2012-05-23 09:12:37 +0000
+++ CMakeLists.txt	2012-06-04 11:46:31 +0000
@@ -16,12 +16,14 @@
 
 PROJECT (zorba_schema-tools_module)
 
-# The util-jvm tool finds Java and JNI, so all standard cached JAVA_
-# variables will be set. util-jvm also caches Java_FOUND and JNI_FOUND
-# for us.
 FIND_PACKAGE (zorba_util-jvm_module QUIET)
 
 IF (zorba_util-jvm_module_FOUND)
+  FIND_PACKAGE(JNI)
+  FIND_PACKAGE(Java)
+  FIND_PACKAGE (Zorba REQUIRED HINTS "${ZORBA_BUILD_DIR}")
+  INCLUDE ("${Zorba_USE_FILE}")
+  
   IF (JNI_FOUND)
     INCLUDE_DIRECTORIES (${zorba_util-jvm_module_INCLUDE_DIRS})
 

-- 
Mailing list: https://launchpad.net/~zorba-coders
Post to     : zorba-coders@lists.launchpad.net
Unsubscribe : https://launchpad.net/~zorba-coders
More help   : https://help.launchpad.net/ListHelp

Reply via email to