Permalink
Browse files

Improve error message

  • Loading branch information...
worktycho committed Sep 6, 2014
1 parent f22b9aa commit 8b5ad667d90fa8dc69ef8b1849e3fe426d8a04eb
Showing with 2 additions and 2 deletions.
  1. +2 −2 SetFlags.cmake
View
@@ -223,8 +223,8 @@ macro(set_exe_flags)
add_flags_cxx("-ffast-math")
if ("${CMAKE_CXX_COMPILER_ID}" STREQUAL "Clang")
if (CLANG_VERSION_STRING VERSION_LESS 3.0)
message(FATAL_ERROR "MCServer requires clang version 3.0 or higher")
if ("${CLANG_VERSION_STRING}" VERSION_LESS 3.0)
message(FATAL_ERROR "MCServer requires clang version 3.0 or higher, version is ${CLANG_VERSION_STRING}")
endif()
# clang does not provide the __extern_always_inline macro and a part of libm depends on this when using fast-math
add_flags_cxx("-D__extern_always_inline=inline")

0 comments on commit 8b5ad66

Please sign in to comment.