1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-21 05:53:02 +01:00

Fix CMake flags setup

This commit is contained in:
Michał Janiszewski
2016-07-30 13:17:59 +02:00
parent 86d5447709
commit 2e319c4dd6

View File

@@ -80,7 +80,7 @@ if (FORCE64)
set(TARGET_M "-m64")
set(OBJ_FORMAT "elf64-x86-64")
set(LINKER_SCRIPT "ld_script_x86_64.xc")
list(APPEND CMAKE_C_FLAGS "-Wno-error=pointer-to-int-cast -Wno-error=int-to-pointer-cast")
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wno-error=pointer-to-int-cast -Wno-error=int-to-pointer-cast")
else ()
set(TARGET_M "-m32")
set(OBJ_FORMAT "elf32-i386")