summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2013-10-23 08:20:22 -0400
committerCMake Topic Stage <kwrobot@kitware.com>2013-10-23 08:20:22 -0400
commite48faced66a9036cc49a31686edc8b8e92978349 (patch)
treeb32c2edc1744403dd9c20de955697a25a192161d
parentd67286ff9b4db3ef9a8bf3e91b0dacc8aac90c05 (diff)
parentc832299e9094f76e58bc67d802061015daf5c1d9 (diff)
downloadcmake-e48faced66a9036cc49a31686edc8b8e92978349.tar.gz
Merge topic 'FindJava-msg'
c832299 FindJava: fix message output (#14502)
-rw-r--r--Modules/FindJava.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/FindJava.cmake b/Modules/FindJava.cmake
index 2d1a976586..e35fc1d80e 100644
--- a/Modules/FindJava.cmake
+++ b/Modules/FindJava.cmake
@@ -111,7 +111,7 @@ if(Java_JAVA_EXECUTABLE)
if(${Java_FIND_REQUIRED})
message( FATAL_ERROR "Error executing java -version" )
else()
- message( STATUS "Warning, could not run java --version")
+ message( STATUS "Warning, could not run java -version")
endif()
else()
# extract major/minor version and patch level from "java -version" output