summaryrefslogtreecommitdiffstats
path: root/Modules
diff options
context:
space:
mode:
authorAndy Cedilnik <andy.cedilnik@kitware.com>2003-02-11 18:53:30 (GMT)
committerAndy Cedilnik <andy.cedilnik@kitware.com>2003-02-11 18:53:30 (GMT)
commita6c2c80757974652f0ecf5fe7c27a7e7da6da0e7 (patch)
treef0a158ce7b287c6cf786b045e31852a8d6f07804 /Modules
parent8e105e0a9f8eeb097376eb4a25b96c5b8bae9d19 (diff)
downloadCMake-a6c2c80757974652f0ecf5fe7c27a7e7da6da0e7.zip
CMake-a6c2c80757974652f0ecf5fe7c27a7e7da6da0e7.tar.gz
CMake-a6c2c80757974652f0ecf5fe7c27a7e7da6da0e7.tar.bz2
Add missing location
Diffstat (limited to 'Modules')
-rw-r--r--Modules/FindJNI.cmake3
1 files changed, 3 insertions, 0 deletions
diff --git a/Modules/FindJNI.cmake b/Modules/FindJNI.cmake
index e90988d..111b6ba 100644
--- a/Modules/FindJNI.cmake
+++ b/Modules/FindJNI.cmake
@@ -37,6 +37,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_LIBRARY)
SET (JAVA_LIBRARY "-framework JavaVM -framework JavaEmbedding" CACHE FILEPATH "Java Frameworks" FORCE)