Commit 982bfa10 authored by Chengwei Yang's avatar Chengwei Yang Committed by Simon McVittie

cmake: terminate to generate makefiles due to fatal error

FATAL isn't a valid key for message according to cmake document here.
http://www.cmake.org/cmake/help/v2.8.8/cmake.html#command%3amessage

Due to the real fatal error, FATAL_ERROR should be used to terminate
cmake from continue generating makefiles.
Signed-off-by: default avatarChengwei Yang <chengwei.yang@intel.com>
Reviewed-by: default avatarSimon McVittie <simon.mcvittie@collabora.co.uk>
Bug: https://bugs.freedesktop.org/show_bug.cgi?id=66257
parent 6af363bb
......@@ -276,7 +276,7 @@ if("${sysname}" MATCHES ".*SOLARIS.*")
endif("${sysname}" MATCHES ".*SOLARIS.*")
if(NOT EXPAT_FOUND)
message(FATAL "expat not found!")
message(FATAL_ERROR "expat not found!")
endif(NOT EXPAT_FOUND)
SET(XML_LIB "Expat")
......@@ -354,7 +354,7 @@ endif (MSVC_IDE)
else (NOT $ENV{TMP} STREQUAL "")
if (WIN32)
#Should never happen, both TMP and TEMP seem always set on Windows
message(FATAL "Could not determine a usable temporary directory")
message(FATAL_ERROR "Could not determine a usable temporary directory")
else(WIN32)
set (DBUS_SESSION_SOCKET_DIR /tmp)
endif(WIN32)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment