diff options
author | Chengwei Yang <chengwei.yang@intel.com> | 2013-06-28 10:27:08 +0800 |
---|---|---|
committer | Simon McVittie <simon.mcvittie@collabora.co.uk> | 2013-06-28 11:55:38 +0100 |
commit | 982bfa106d8f551190ea6f19f0a36cd89fff4b86 (patch) | |
tree | fd2a494fbd69ef88aac5def6bc06e0673b8e94b7 /cmake/CMakeLists.txt | |
parent | 6af363bbbcdf2a8ff079b7b77764e8b83cd04727 (diff) | |
download | dbus-982bfa106d8f551190ea6f19f0a36cd89fff4b86.tar.gz |
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: Chengwei Yang <chengwei.yang@intel.com>
Reviewed-by: Simon McVittie <simon.mcvittie@collabora.co.uk>
Bug: https://bugs.freedesktop.org/show_bug.cgi?id=66257
Diffstat (limited to 'cmake/CMakeLists.txt')
-rw-r--r-- | cmake/CMakeLists.txt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cmake/CMakeLists.txt b/cmake/CMakeLists.txt index 9bf59234..6c17461f 100644 --- a/cmake/CMakeLists.txt +++ b/cmake/CMakeLists.txt @@ -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) |