summaryrefslogtreecommitdiffstats
path: root/Modules/FindJNI.cmake
diff options
context:
space:
mode:
authorBartosz Kosiorek <gang65@poczta.onet.pl>2018-10-03 10:03:44 (GMT)
committerBrad King <brad.king@kitware.com>2018-10-03 11:48:44 (GMT)
commitb6104f87cc0f071f69ded2246c5d7d264e8684f5 (patch)
tree7c1b260c3fbd9cc67c37bd9606819a1a07bf557e /Modules/FindJNI.cmake
parent84457a0dacb7666a92c32920aa9f7bb9953d6940 (diff)
downloadCMake-b6104f87cc0f071f69ded2246c5d7d264e8684f5.zip
CMake-b6104f87cc0f071f69ded2246c5d7d264e8684f5.tar.gz
CMake-b6104f87cc0f071f69ded2246c5d7d264e8684f5.tar.bz2
FindJNI: Add Ubuntu 18.04 path to java-11-openjdk
Diffstat (limited to 'Modules/FindJNI.cmake')
-rw-r--r--Modules/FindJNI.cmake1
1 files changed, 1 insertions, 0 deletions
diff --git a/Modules/FindJNI.cmake b/Modules/FindJNI.cmake
index 4913e05..7d637cb 100644
--- a/Modules/FindJNI.cmake
+++ b/Modules/FindJNI.cmake
@@ -187,6 +187,7 @@ JAVA_APPEND_LIBRARY_DIRECTORIES(JAVA_AWT_LIBRARY_DIRECTORIES
/usr/lib/jvm/default/jre/lib/{libarch}
/usr/lib/jvm/default/lib/{libarch}
# Ubuntu specific paths for default JVM
+ /usr/lib/jvm/java-11-openjdk-{libarch}/jre/lib/{libarch} # Ubuntu 18.04 LTS
/usr/lib/jvm/java-8-openjdk-{libarch}/jre/lib/{libarch} # Ubuntu 15.10
/usr/lib/jvm/java-7-openjdk-{libarch}/jre/lib/{libarch} # Ubuntu 15.10
/usr/lib/jvm/java-6-openjdk-{libarch}/jre/lib/{libarch} # Ubuntu 15.10