summaryrefslogtreecommitdiffstats
path: root/Modules
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2020-10-08 12:09:45 (GMT)
committerKitware Robot <kwrobot@kitware.com>2020-10-08 12:09:53 (GMT)
commit736cd0f533bcbca18a25379cfbe4e9db60f7c614 (patch)
treed89b529ba5ccd3c359540fe84d1f918e15eb564c /Modules
parentef889ede4c7300b5dc9a3d97f76bc3f1568a4c4d (diff)
parent79bfa0f75eaf444409943127f4c4f8ad0746235b (diff)
downloadCMake-736cd0f533bcbca18a25379cfbe4e9db60f7c614.zip
CMake-736cd0f533bcbca18a25379cfbe4e9db60f7c614.tar.gz
CMake-736cd0f533bcbca18a25379cfbe4e9db60f7c614.tar.bz2
Merge topic 'FindJNI-freebsd'
79bfa0f75e FindJNI: Search in FreeBSD standard locations Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !5341
Diffstat (limited to 'Modules')
-rw-r--r--Modules/FindJNI.cmake8
1 files changed, 8 insertions, 0 deletions
diff --git a/Modules/FindJNI.cmake b/Modules/FindJNI.cmake
index bbca952..5aa2d60 100644
--- a/Modules/FindJNI.cmake
+++ b/Modules/FindJNI.cmake
@@ -215,6 +215,14 @@ set(_JNI_JAVA_DIRECTORIES_BASE
/usr/local/jre-1.7.0
/usr/local/jdk-1.6.0
/usr/local/jre-1.6.0
+ # FreeBSD specific paths for default JVM
+ /usr/local/openjdk15
+ /usr/local/openjdk14
+ /usr/local/openjdk13
+ /usr/local/openjdk12
+ /usr/local/openjdk11
+ /usr/local/openjdk8
+ /usr/local/openjdk7
# SuSE specific paths for default JVM
/usr/lib64/jvm/java
/usr/lib64/jvm/jre