diff options
author | Bill Hoffman <bill.hoffman@kitware.com> | 2006-10-24 14:03:39 (GMT) |
---|---|---|
committer | Bill Hoffman <bill.hoffman@kitware.com> | 2006-10-24 14:03:39 (GMT) |
commit | ae5df56bbca7ecbd82644ac7bc0cb599ce160e97 (patch) | |
tree | 35ea576bbdb0d8999e1978ab285d3cb8f4e1b522 /Modules/FindJNI.cmake | |
parent | ee9341079fddad4afd0fd189330498973b826738 (diff) | |
download | CMake-ae5df56bbca7ecbd82644ac7bc0cb599ce160e97.zip CMake-ae5df56bbca7ecbd82644ac7bc0cb599ce160e97.tar.gz CMake-ae5df56bbca7ecbd82644ac7bc0cb599ce160e97.tar.bz2 |
ENH: remove JavaEmbedding framework
Diffstat (limited to 'Modules/FindJNI.cmake')
-rw-r--r-- | Modules/FindJNI.cmake | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/Modules/FindJNI.cmake b/Modules/FindJNI.cmake index 848d442..9bbad96 100644 --- a/Modules/FindJNI.cmake +++ b/Modules/FindJNI.cmake @@ -66,12 +66,9 @@ IF(APPLE) IF(EXISTS /Library/Frameworks/JavaEmbedding.framework) SET(JAVA_HAVE_FRAMEWORK 1) ENDIF(EXISTS /Library/Frameworks/JavaEmbedding.framework) - IF(EXISTS /System/Library/Frameworks/JavaEmbedding.framework) - SET(JAVA_HAVE_FRAMEWORK 1) - ENDIF(EXISTS /System/Library/Frameworks/JavaEmbedding.framework) IF(JAVA_HAVE_FRAMEWORK) IF(NOT JAVA_AWT_LIBRARY) - SET (JAVA_AWT_LIBRARY "-framework JavaVM -framework JavaEmbedding" CACHE FILEPATH "Java Frameworks" FORCE) + SET (JAVA_AWT_LIBRARY "-framework JavaVM" CACHE FILEPATH "Java Frameworks" FORCE) ENDIF(NOT JAVA_AWT_LIBRARY) SET(JAVA_AWT_INCLUDE_DIRECTORIES ${JAVA_AWT_INCLUDE_DIRECTORIES} ~/Library/Frameworks/JavaVM.framework/Headers |