ENH: Support JVM on Mac

This commit is contained in:
Andy Cedilnik 2006-12-26 08:47:15 -05:00
parent 3f3d700f65
commit c074927b41
1 changed files with 1 additions and 1 deletions

View File

@ -96,7 +96,7 @@ ELSE(APPLE)
FIND_LIBRARY(JAVA_AWT_LIBRARY jawt
PATHS ${JAVA_AWT_LIBRARY_DIRECTORIES}
)
FIND_LIBRARY(JAVA_JVM_LIBRARY jvm
FIND_LIBRARY(JAVA_JVM_LIBRARY NAMES jvm JavaVM
PATHS ${JAVA_JVM_LIBRARY_DIRECTORIES}
)
ENDIF(APPLE)