From c832299e9094f76e58bc67d802061015daf5c1d9 Mon Sep 17 00:00:00 2001 From: Rolf Eike Beer Date: Tue, 22 Oct 2013 20:51:32 +0200 Subject: FindJava: fix message output (#14502) --- Modules/FindJava.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit v0.12