Merge topic 'shut-up-find-java'

20a6f6c Use QUIET to avoid Java status messages.
This commit is contained in:
Brad King 2010-09-14 13:11:26 -04:00 committed by CMake Topic Stage
commit e486662f84
1 changed files with 1 additions and 1 deletions

View File

@ -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