diff options
Diffstat (limited to 'Modules/FindJNI.cmake')
-rw-r--r-- | Modules/FindJNI.cmake | 3 |
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) |