summaryrefslogtreecommitdiffstats
path: root/Modules/FindJava.cmake
diff options
context:
space:
mode:
authorRolf Eike Beer <eike@sf-mail.de>2013-10-22 18:51:32 (GMT)
committerRolf Eike Beer <eike@sf-mail.de>2013-10-22 18:51:32 (GMT)
commitc832299e9094f76e58bc67d802061015daf5c1d9 (patch)
tree08be413597a28b1578dbb95913d63951b317857c /Modules/FindJava.cmake
parentddef8a7cfffbbae12f2d2c556651f06346237569 (diff)
downloadCMake-c832299e9094f76e58bc67d802061015daf5c1d9.zip
CMake-c832299e9094f76e58bc67d802061015daf5c1d9.tar.gz
CMake-c832299e9094f76e58bc67d802061015daf5c1d9.tar.bz2
FindJava: fix message output (#14502)
Diffstat (limited to 'Modules/FindJava.cmake')
-rw-r--r--Modules/FindJava.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/FindJava.cmake b/Modules/FindJava.cmake
index 2d1a976..e35fc1d 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