summaryrefslogtreecommitdiffstats
path: root/Modules/FindJNI.cmake
diff options
context:
space:
mode:
authorAndy Cedilnik <andy.cedilnik@kitware.com>2006-12-26 13:47:15 (GMT)
committerAndy Cedilnik <andy.cedilnik@kitware.com>2006-12-26 13:47:15 (GMT)
commitc074927b411659d612d0e83c5e029a8c0d0cab62 (patch)
tree0948c4a201a35e0524c55346f08634da930e9c83 /Modules/FindJNI.cmake
parent3f3d700f65b558e7cdfd5f4e610f77e6b9c785d4 (diff)
downloadCMake-c074927b411659d612d0e83c5e029a8c0d0cab62.zip
CMake-c074927b411659d612d0e83c5e029a8c0d0cab62.tar.gz
CMake-c074927b411659d612d0e83c5e029a8c0d0cab62.tar.bz2
ENH: Support JVM on Mac
Diffstat (limited to 'Modules/FindJNI.cmake')
-rw-r--r--Modules/FindJNI.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/FindJNI.cmake b/Modules/FindJNI.cmake
index 694bc96..45e6c20 100644
--- a/Modules/FindJNI.cmake
+++ b/Modules/FindJNI.cmake
@@ -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)