Make DISABLE_RCT2 imply FORCE32

This commit is contained in:
Michał Janiszewski 2016-10-15 23:36:45 +02:00
parent 2e4a5cd441
commit f76c7d794c
1 changed files with 5 additions and 0 deletions

View File

@ -88,6 +88,11 @@ if(NOT MINGW)
set(COMMON_COMPILE_OPTIONS "${COMMON_COMPILE_OPTIONS} -fPIC")
endif()
if (NOT DISABLE_RCT2)
set (FORCE32 ON)
message("DISABLE_RCT2 implies FORCE32")
endif()
if (LAUNCHPAD_BUILD)
# Launchpad turns on -Wdate-time for compilers that support it, this shouldn't break our build
set(COMMON_COMPILE_OPTIONS "${COMMON_COMPILE_OPTIONS} -Wno-error=date-time")