diff --git a/CMakeLists.txt b/CMakeLists.txt index 4ec2837023..817fed723c 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -81,7 +81,7 @@ option(DISABLE_RCT2 "Build a standalone version, without using code and data seg option(USE_MMAP "Use mmap to try loading rct2's data segment into memory.") option(LAUNCHPAD_BUILD "Sets some build system options on launchpad.net") -set(COMMON_COMPILE_OPTIONS "${COMMON_COMPILE_OPTIONS} -fstrict-aliasing -Werror -Wundef -Wmissing-declarations -Winit-self -Warray-bounds -Waddress -Wchar-subscripts -Wenum-compare") +set(COMMON_COMPILE_OPTIONS "${COMMON_COMPILE_OPTIONS} -fstrict-aliasing -Werror -Wundef -Wmissing-declarations -Winit-self -Wall -Wno-unknown-pragmas -Wno-unused-function -Wno-missing-braces -Wno-comment") # On mingw all code is already PIC, this will avoid compiler error on redefining this option if(NOT MINGW)