mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2025-12-12 15:49:28 -08:00
Dealt with SFMT compile warnings.
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user