diff options
author | David Cole <david.cole@kitware.com> | 2010-09-09 19:39:19 (GMT) |
---|---|---|
committer | David Cole <david.cole@kitware.com> | 2010-09-09 19:41:53 (GMT) |
commit | 20a6f6cf7ae0442e3687f0fdd4b151ba2c196674 (patch) | |
tree | e657ff25b6ff32e8961ed787e5b24427329ad17b /Tests | |
parent | 2eab3b2cbb3464ae79ce3b39d924f1844b96bd8f (diff) | |
download | CMake-20a6f6cf7ae0442e3687f0fdd4b151ba2c196674.zip CMake-20a6f6cf7ae0442e3687f0fdd4b151ba2c196674.tar.gz CMake-20a6f6cf7ae0442e3687f0fdd4b151ba2c196674.tar.bz2 |
Use QUIET to avoid Java status messages.
CMake devs mostly do not care when Java is found successfully.
Diffstat (limited to 'Tests')
-rw-r--r-- | Tests/CMakeLists.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Tests/CMakeLists.txt b/Tests/CMakeLists.txt index 8e8d0ca..eb86a34 100644 --- a/Tests/CMakeLists.txt +++ b/Tests/CMakeLists.txt @@ -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 |