summaryrefslogtreecommitdiffstats
path: root/Modules
diff options
context:
space:
mode:
authorAndy Cedilnik <andy.cedilnik@kitware.com>2003-02-11 18:56:35 (GMT)
committerAndy Cedilnik <andy.cedilnik@kitware.com>2003-02-11 18:56:35 (GMT)
commit5a31a94f848288e768dbc0a95a0f331529dbbd55 (patch)
treef6cac4a32b5ae63dd13e8b1e9954bac53acb5b91 /Modules
parenta6c2c80757974652f0ecf5fe7c27a7e7da6da0e7 (diff)
downloadCMake-5a31a94f848288e768dbc0a95a0f331529dbbd55.zip
CMake-5a31a94f848288e768dbc0a95a0f331529dbbd55.tar.gz
CMake-5a31a94f848288e768dbc0a95a0f331529dbbd55.tar.bz2
Fix typo
Diffstat (limited to 'Modules')
-rw-r--r--Modules/FindJNI.cmake6
1 files 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)