From f23ade5c02f84464ad4488491cd02180c768e62c Mon Sep 17 00:00:00 2001 From: Bill Hoffman Date: Fri, 27 Oct 2006 15:59:40 -0400 Subject: ENH: remove JavaEmbedding --- Modules/FindJNI.cmake | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/Modules/FindJNI.cmake b/Modules/FindJNI.cmake index 9bbad96..781fecd 100644 --- a/Modules/FindJNI.cmake +++ b/Modules/FindJNI.cmake @@ -60,12 +60,12 @@ FOREACH(JAVA_PROG "${JAVA_RUNTIME}" "${JAVA_COMPILE}" "${JAVA_ARCHIVE}") ENDFOREACH(JAVA_PROG) IF(APPLE) - IF(EXISTS ~/Library/Frameworks/JavaEmbedding.framework) + IF(EXISTS ~/Library/Frameworks/JavaVM.framework) SET(JAVA_HAVE_FRAMEWORK 1) - ENDIF(EXISTS ~/Library/Frameworks/JavaEmbedding.framework) - IF(EXISTS /Library/Frameworks/JavaEmbedding.framework) + ENDIF(EXISTS ~/Library/Frameworks/JavaVM.framework) + IF(EXISTS /Library/Frameworks/JavaVM.framework) SET(JAVA_HAVE_FRAMEWORK 1) - ENDIF(EXISTS /Library/Frameworks/JavaEmbedding.framework) + ENDIF(EXISTS /Library/Frameworks/JavaVM.framework) IF(JAVA_HAVE_FRAMEWORK) IF(NOT JAVA_AWT_LIBRARY) SET (JAVA_AWT_LIBRARY "-framework JavaVM" CACHE FILEPATH "Java Frameworks" FORCE) @@ -74,9 +74,6 @@ IF(APPLE) ~/Library/Frameworks/JavaVM.framework/Headers /Library/Frameworks/JavaVM.framework/Headers /System/Library/Frameworks/JavaVM.framework/Headers - ~/Library/Frameworks/JavaEmbedding.framework/Headers - /Library/Frameworks/JavaEmbedding.framework/Headers - /System/Library/Frameworks/JavaEmbedding.framework/Headers ) ENDIF(JAVA_HAVE_FRAMEWORK) ELSE(APPLE) -- cgit v0.12