summaryrefslogtreecommitdiffstats
path: root/Modules/FindJNI.cmake
diff options
context:
space:
mode:
authorBill Hoffman <bill.hoffman@kitware.com>2001-05-09 18:53:32 (GMT)
committerBill Hoffman <bill.hoffman@kitware.com>2001-05-09 18:53:32 (GMT)
commitf07ee5b8177e9e08f290e3acdff6c31d6b694bf6 (patch)
tree7d08c74e73010dfe3bd735b592fd64f09de5ab9c /Modules/FindJNI.cmake
parent1dc7ae38ead50498b9e813d7c6e96f9d850b45ea (diff)
downloadCMake-f07ee5b8177e9e08f290e3acdff6c31d6b694bf6.zip
CMake-f07ee5b8177e9e08f290e3acdff6c31d6b694bf6.tar.gz
CMake-f07ee5b8177e9e08f290e3acdff6c31d6b694bf6.tar.bz2
ENH: change find library and find program to look for more than one name
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 cec9f13..a58bada 100644
--- a/Modules/FindJNI.cmake
+++ b/Modules/FindJNI.cmake
@@ -8,7 +8,7 @@
# JAVA_AWT_INCLUDE_PATH = the path to where jni.h can be found
#
-FIND_LIBRARY(JAVA_AWT_LIB_PATH jawt /usr/lib /usr/local/lib)
+FIND_LIBRARY(JAVA_AWT_LIB_PATH jawt PATHS /usr/lib /usr/local/lib)
# add in the include path
FIND_PATH(JAVA_INCLUDE_PATH jni.h /usr/include /usr/local/include)