Private
Public Access
2
0

cmake: Fix message handling

Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
This commit is contained in:
Brendan Le Foll
2016-03-07 14:49:14 +00:00
parent 168764481a
commit edd554b606
4 changed files with 22 additions and 22 deletions

View File

@@ -14,7 +14,7 @@ set (CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -DJAVACALLBACK")
if (NOT DEFINED ENV{JAVA_HOME_NATIVE})
if (NOT DEFINED ENV{JAVA_HOME})
message (FATAL_ERROR " - Neither JAVA_HOME nor JAVA_HOME_NATIVE are set")
message (FATAL_ERROR "Neither JAVA_HOME nor JAVA_HOME_NATIVE are set")
endif()
set (JAVA_HOME_NATIVE $ENV{JAVA_HOME})
set (JAVAC $ENV{JAVA_HOME}/bin/javac)