Merge topic 'FindJava-msg'

c832299 FindJava: fix message output (#14502)
This commit is contained in:
Brad King 2013-10-23 08:20:22 -04:00 committed by CMake Topic Stage
commit e48faced66
1 changed files with 1 additions and 1 deletions

View File

@ -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