summaryrefslogtreecommitdiff
path: root/Modules/CMakeDetermineJavaCompiler.cmake
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2005-04-07 13:46:02 -0400
committerBrad King <brad.king@kitware.com>2005-04-07 13:46:02 -0400
commit76f905002617dd534df04f1c1c0842d59f50f531 (patch)
treeddfb26a19fe535d2e17e22bd8fe8ca0c084e6b92 /Modules/CMakeDetermineJavaCompiler.cmake
parentfadff337910f1c6faf5a2e36afe54b6ea1aee0e8 (diff)
downloadcmake-76f905002617dd534df04f1c1c0842d59f50f531.tar.gz
ENH: Adding support for 64-bit library paths. Contributed by Peter Vanroose.
Diffstat (limited to 'Modules/CMakeDetermineJavaCompiler.cmake')
-rw-r--r--Modules/CMakeDetermineJavaCompiler.cmake1
1 files changed, 1 insertions, 0 deletions
diff --git a/Modules/CMakeDetermineJavaCompiler.cmake b/Modules/CMakeDetermineJavaCompiler.cmake
index 03e7719c32..df779b0216 100644
--- a/Modules/CMakeDetermineJavaCompiler.cmake
+++ b/Modules/CMakeDetermineJavaCompiler.cmake
@@ -38,6 +38,7 @@ IF(NOT CMAKE_Java_COMPILER)
"[HKEY_LOCAL_MACHINE\\SOFTWARE\\JavaSoft\\Java Development Kit\\1.4;JavaHome]/bin"
"[HKEY_LOCAL_MACHINE\\SOFTWARE\\JavaSoft\\Java Development Kit\\1.3;JavaHome]/bin"
/usr/bin
+ /usr/lib64/java/bin
/usr/lib/java/bin
/usr/share/java/bin
/usr/local/bin