diff options
author | Sebastien Barre <sebastien.barre@kitware.com> | 2003-10-16 15:05:04 (GMT) |
---|---|---|
committer | Sebastien Barre <sebastien.barre@kitware.com> | 2003-10-16 15:05:04 (GMT) |
commit | 296e73180844791bf1a8ec51dad489625ca8c9f3 (patch) | |
tree | fc24b1bcd18952596ac4b686b14b5c6e0a846a3d /Modules/CMakeDetermineJavaCompiler.cmake | |
parent | 4d2ca08bc7a91fcc207ec481323796acdf68eec6 (diff) | |
download | CMake-296e73180844791bf1a8ec51dad489625ca8c9f3.zip CMake-296e73180844791bf1a8ec51dad489625ca8c9f3.tar.gz CMake-296e73180844791bf1a8ec51dad489625ca8c9f3.tar.bz2 |
FIX: for Windows users, it seems logical to favor native win32 installation before Cygwin ones. Otherwise you can end up with bad mixes (part of the java tools were picked from the SDK, part from Cygwin)
Diffstat (limited to 'Modules/CMakeDetermineJavaCompiler.cmake')
-rw-r--r-- | Modules/CMakeDetermineJavaCompiler.cmake | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Modules/CMakeDetermineJavaCompiler.cmake b/Modules/CMakeDetermineJavaCompiler.cmake index 2e556e4..91a44e7 100644 --- a/Modules/CMakeDetermineJavaCompiler.cmake +++ b/Modules/CMakeDetermineJavaCompiler.cmake @@ -29,13 +29,13 @@ IF(NOT CMAKE_JAVA_COMPILER) ENDIF($ENV{JAVA_ARCHIVE} MATCHES ".+") SET(JAVA_BIN_PATH + "[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/lib/java/bin /usr/share/java/bin /usr/local/bin /usr/local/java/bin - "[HKEY_LOCAL_MACHINE\\SOFTWARE\\JavaSoft\\Java Development Kit\\1.4;JavaHome]/bin" - "[HKEY_LOCAL_MACHINE\\SOFTWARE\\JavaSoft\\Java Development Kit\\1.3;JavaHome]/bin" ) # if no compiler has been specified yet, then look for one IF(CMAKE_JAVA_COMPILER_INIT) |