FindJava: fix message output (#14502)

This commit is contained in:
Rolf Eike Beer 2013-10-22 20:51:32 +02:00
parent ddef8a7cff
commit c832299e90
1 changed files with 1 additions and 1 deletions

View File

@ -111,7 +111,7 @@ if(Java_JAVA_EXECUTABLE)
if(${Java_FIND_REQUIRED}) if(${Java_FIND_REQUIRED})
message( FATAL_ERROR "Error executing java -version" ) message( FATAL_ERROR "Error executing java -version" )
else() else()
message( STATUS "Warning, could not run java --version") message( STATUS "Warning, could not run java -version")
endif() endif()
else() else()
# extract major/minor version and patch level from "java -version" output # extract major/minor version and patch level from "java -version" output