summaryrefslogtreecommitdiff
path: root/Modules/CMakeDetermineJavaCompiler.cmake
diff options
context:
space:
mode:
authorAmit Kulkarni <amitkulz@gmail.com>2012-12-03 17:23:10 -0600
committerBrad King <brad.king@kitware.com>2012-12-04 08:35:23 -0500
commit6e7a3453b43897006cdd1b2587a3641fe3bd7731 (patch)
treeb18634aa6ab08f3b7894d9fc9b75768cc43047fe /Modules/CMakeDetermineJavaCompiler.cmake
parent288f75edee99d6689f6651fe2ad00955d293d665 (diff)
downloadcmake-6e7a3453b43897006cdd1b2587a3641fe3bd7731.tar.gz
OpenBSD: Add paths for Java 1.6.0/1.7.0 JRE/JDK
Diffstat (limited to 'Modules/CMakeDetermineJavaCompiler.cmake')
-rw-r--r--Modules/CMakeDetermineJavaCompiler.cmake2
1 files changed, 2 insertions, 0 deletions
diff --git a/Modules/CMakeDetermineJavaCompiler.cmake b/Modules/CMakeDetermineJavaCompiler.cmake
index c4217f552d..ae9f5fcafd 100644
--- a/Modules/CMakeDetermineJavaCompiler.cmake
+++ b/Modules/CMakeDetermineJavaCompiler.cmake
@@ -63,6 +63,8 @@ if(NOT CMAKE_Java_COMPILER)
/usr/java/j2sdk1.4.2_09/bin
/usr/lib/j2sdk1.5-sun/bin
/opt/sun-jdk-1.5.0.04/bin
+ /usr/local/jdk-1.7.0/bin
+ /usr/local/jdk-1.6.0/bin
)
# if no compiler has been specified yet, then look for one
if(CMAKE_Java_COMPILER_INIT)