summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2010-09-14 17:11:26 (GMT)
committerCMake Topic Stage <kwrobot@kitware.com>2010-09-14 17:11:26 (GMT)
commite486662f84d5062ff7ba808a046b2e74b5502949 (patch)
tree569c12f845362d4ee4257f99f8f21448080e7d0c
parent5233d34c31643778645be8df98061a5dbd68c660 (diff)
parent20a6f6cf7ae0442e3687f0fdd4b151ba2c196674 (diff)
downloadCMake-e486662f84d5062ff7ba808a046b2e74b5502949.zip
CMake-e486662f84d5062ff7ba808a046b2e74b5502949.tar.gz
CMake-e486662f84d5062ff7ba808a046b2e74b5502949.tar.bz2
Merge topic 'shut-up-find-java'
20a6f6c Use QUIET to avoid Java status messages.
-rw-r--r--Tests/CMakeLists.txt2
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