From 5a31a94f848288e768dbc0a95a0f331529dbbd55 Mon Sep 17 00:00:00 2001 From: Andy Cedilnik Date: Tue, 11 Feb 2003 13:56:35 -0500 Subject: Fix typo --- Modules/FindJNI.cmake | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Modules/FindJNI.cmake b/Modules/FindJNI.cmake index 111b6ba..d87706f 100644 --- a/Modules/FindJNI.cmake +++ b/Modules/FindJNI.cmake @@ -41,14 +41,14 @@ IF(APPLE) SET(JAVA_HAVE_FRAMEWORK 1) ENDIF(EXISTS /System/Library/Frameworks/JavaEmbedding.framework) IF(JAVA_HAVE_FRAMEWORK) - IF(NOT JAVA_LIBRARY) - SET (JAVA_LIBRARY "-framework JavaVM -framework JavaEmbedding" CACHE FILEPATH "Java Frameworks" FORCE) + IF(NOT JAVA_AWT_LIBRARY) + SET (JAVA_AWT_LIBRARY "-framework JavaVM -framework JavaEmbedding" CACHE FILEPATH "Java Frameworks" FORCE) SET(JAVA_AWT_INCLUDE_DIRECTORIES ~/Library/Frameworks/JavaEmbedding.framework/Headers /Library/Frameworks/JavaEmbedding.framework/Headers /System/Library/Frameworks/JavaEmbedding.framework/Headers ) - ENDIF(NOT JAVA_LIBRARY) + ENDIF(NOT JAVA_AWT_LIBRARY) ENDIF(JAVA_HAVE_FRAMEWORK) ENDIF(APPLE) -- cgit v0.12