diff options
author | Andy Cedilnik <andy.cedilnik@kitware.com> | 2003-02-11 18:56:35 (GMT) |
---|---|---|
committer | Andy Cedilnik <andy.cedilnik@kitware.com> | 2003-02-11 18:56:35 (GMT) |
commit | 5a31a94f848288e768dbc0a95a0f331529dbbd55 (patch) | |
tree | f6cac4a32b5ae63dd13e8b1e9954bac53acb5b91 /Modules/FindJNI.cmake | |
parent | a6c2c80757974652f0ecf5fe7c27a7e7da6da0e7 (diff) | |
download | CMake-5a31a94f848288e768dbc0a95a0f331529dbbd55.zip CMake-5a31a94f848288e768dbc0a95a0f331529dbbd55.tar.gz CMake-5a31a94f848288e768dbc0a95a0f331529dbbd55.tar.bz2 |
Fix typo
Diffstat (limited to 'Modules/FindJNI.cmake')
-rw-r--r-- | Modules/FindJNI.cmake | 6 |
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) |