summaryrefslogtreecommitdiffstats
path: root/Modules/FindJava.cmake
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2018-05-08 12:20:25 (GMT)
committerKitware Robot <kwrobot@kitware.com>2018-05-08 12:20:36 (GMT)
commit14bfd267e5e7498f0131b87e54c11cafa2ff6903 (patch)
treeecba961f7cd53a90bbb1a9fc61ec0c1381be0fde /Modules/FindJava.cmake
parentc0fa21322c0996df8479fd58f33345c051226fd2 (diff)
parentb4e156931511777ffb1b512a6b21e88b02d6bd43 (diff)
downloadCMake-14bfd267e5e7498f0131b87e54c11cafa2ff6903.zip
CMake-14bfd267e5e7498f0131b87e54c11cafa2ff6903.tar.gz
CMake-14bfd267e5e7498f0131b87e54c11cafa2ff6903.tar.bz2
Merge topic 'java-new-packaging-fixes'
b4e1569315 FindJava, FindJNI: fix erroneous regex, enhance registry lookup Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !2042
Diffstat (limited to 'Modules/FindJava.cmake')
-rw-r--r--Modules/FindJava.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/FindJava.cmake b/Modules/FindJava.cmake
index 95e551f..cddc5d2 100644
--- a/Modules/FindJava.cmake
+++ b/Modules/FindJava.cmake
@@ -97,7 +97,7 @@ if (WIN32)
list (REVERSE _JAVA_V9)
list (APPEND _JAVA_VERSIONS ${_JAVA_V9})
foreach (_JAVA_HINT IN LISTS _JAVA_VERSIONS)
- list(APPEND _JAVA_HINTS "[${_JAVA_HINT}\\MSI;INSTALLDIR]/bin")
+ list(APPEND _JAVA_HINTS "[${_JAVA_HINT};JavaHome]/bin")
endforeach()
endif()
endif()