FindJNI: Add arch-specific library dir for JDK 9 layout (#15408)

JDK9's directory structure changes and no jdk/jre exists.  The arch
lib path is now jdk/lib/<arch> (instead of jdk/jre/lib/<arch>).
This commit is contained in:
Tiago Stürmer Daitx 2015-02-18 04:09:41 -02:00 committed by Brad King
parent da92cdab52
commit bce4e20f78

View File

@ -114,6 +114,7 @@ if(_JAVA_HOME)
JAVA_APPEND_LIBRARY_DIRECTORIES(JAVA_AWT_LIBRARY_DIRECTORIES
${_JAVA_HOME}/jre/lib/{libarch}
${_JAVA_HOME}/jre/lib
${_JAVA_HOME}/lib/{libarch}
${_JAVA_HOME}/lib
${_JAVA_HOME}
)