Make DISABLE_RCT2 imply FORCE32

This commit is contained in:
Michał Janiszewski committed 2016-10-16 00:24:12 +02:00
1 parent 2e4a5cd441
commit f76c7d794c
1 file changed
+5
+5
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")