Merge topic 'shut-up-find-java'
20a6f6c
Use QUIET to avoid Java status messages.
This commit is contained in:
commit
e486662f84
|
@ -1630,7 +1630,7 @@ ${CMake_BINARY_DIR}/bin/cmake -DVERSION=master -P ${CMake_SOURCE_DIR}/Utilities/
|
|||
ENDIF()
|
||||
|
||||
IF(NOT CMAKE_TEST_GENERATOR MATCHES "Xcode")
|
||||
INCLUDE(FindJava)
|
||||
find_package(Java QUIET)
|
||||
IF(JAVA_COMPILE AND JAVA_RUNTIME AND JAVA_ARCHIVE AND NOT MINGW)
|
||||
GET_FILENAME_COMPONENT(JNIPATH ${JAVA_COMPILE} PATH)
|
||||
FIND_FILE(JNI_H jni.h
|
||||
|
|
Loading…
Reference in New Issue