diff options
author | Bill Hoffman <bill.hoffman@kitware.com> | 2004-09-27 15:03:20 (GMT) |
---|---|---|
committer | Bill Hoffman <bill.hoffman@kitware.com> | 2004-09-27 15:03:20 (GMT) |
commit | f5b978fe2f03c865549d4d0e3c9aebc8edc50288 (patch) | |
tree | 61105256a16a2261c5a82d044888aac686d35c96 /Source | |
parent | 0871ddbeddeee7f1884fc3801192547555f4f66b (diff) | |
download | CMake-f5b978fe2f03c865549d4d0e3c9aebc8edc50288.zip CMake-f5b978fe2f03c865549d4d0e3c9aebc8edc50288.tar.gz CMake-f5b978fe2f03c865549d4d0e3c9aebc8edc50288.tar.bz2 |
ENH: better message for skipping java
Diffstat (limited to 'Source')
-rw-r--r-- | Source/CMakeLists.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/CMakeLists.txt b/Source/CMakeLists.txt index b28bcaa..7ef19f0 100644 --- a/Source/CMakeLists.txt +++ b/Source/CMakeLists.txt @@ -661,7 +661,7 @@ IF(BUILD_TESTING) IF(JAVA_COMPILE AND JAVA_RUNTIME AND JAVA_ARCHIVE) EXEC_PROGRAM(${JAVA_COMPILE} ARGS -version OUTPUT_VARIABLE OUT) IF(OUT MATCHES "invalid flag") - MESSAGE("This java does not even know what version it is!") + MESSAGE("Skipping Java Test because ${JAVA_COMPILE} -version produced: ${OUT}") ELSE(OUT MATCHES "invalid flag") ADD_TEST(Java ${CMAKE_CTEST_COMMAND} --build-and-test |