FindJava: fix message output (#14502)
This commit is contained in:
parent
ddef8a7cff
commit
c832299e90
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue