1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2025-12-10 09:32:29 +01:00

Add option to skip headers check

In some configuration, such as our docker build, there's no need to
perform headers check, as it is handled by a different job already.
This commit is contained in:
Michał Janiszewski
2024-10-18 23:07:56 +02:00
parent 155f5ae2f5
commit 05d125efbf
3 changed files with 4 additions and 3 deletions

View File

@@ -113,9 +113,10 @@ option(DISABLE_TTF "Disable support for TTF provided by freetype2.")
option(ENABLE_SCRIPTING "Enable script / plugin support." ON)
option(ENABLE_ASAN "Enable the AddressSanitizer.")
option(ENABLE_UBSAN "Enable the UndefinedBehaviourSanitizer.")
option(ENABLE_HEADERS_CHECK "Check if include directives in header files are correct. Only works with clang" ON)
option(DISABLE_GUI "Don't build GUI. (Headless only.)")
if (FORCE32)
set(TARGET_M "-m32")
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${TARGET_M}")