1
0

Merge branch 'master' into PreventNewWarnings

Conflicts:
	src/Inventory.cpp
This commit is contained in:
tycho
2015-05-28 11:05:41 +01:00
30 changed files with 483 additions and 118 deletions

View File

@@ -246,6 +246,11 @@ macro(set_exe_flags)
# we support non-IEEE 754 fpus so can make no guarentees about error
add_flags_cxx("-ffast-math")
if(${CMAKE_SYSTEM_NAME} STREQUAL "FreeBSD")
# backtrace() and friends are in libexecinfo
add_flags_lnk("-lexecinfo")
endif()
if ("${CMAKE_CXX_COMPILER_ID}" STREQUAL "Clang")
if ("${CLANG_VERSION}" VERSION_LESS 3.0)
message(FATAL_ERROR "MCServer requires clang version 3.0 or higher, version is ${CLANG_VERSION}")