Dealt with SFMT compile warnings.

This commit is contained in:
Mark Morschhäuser 2014-05-18 11:10:29 +02:00
parent 69201460e6
commit bf6ec478cb

View file

@ -1,4 +1,10 @@
cmake_minimum_required(VERSION 2.6)
IF(CMAKE_CXX_COMPILER_ID MATCHES "GNU|Clang")
# GNU systems need to define the Mersenne exponent for the RNG to compile w/o warning
ADD_DEFINITIONS("-DSFMT_MEXP=19937")
ENDIF()
add_subdirectory(common)
if(WITH_SERVER)
add_subdirectory(servatrice)