mirror of https://github.com/OpenRCT2/OpenRCT2.git
When ICU is installed separately from the system and paths configured in CMake then the detected include directories should also be used for compilation instead of blindly using unconfigured system includes. SYSTEM flag ignores suggest-override warnings in ICU headers.
This commit is contained in:
parent
66bfd42551
commit
3f8c3c32ea
|
@ -162,6 +162,9 @@ if (NOT DISABLE_TTF)
|
|||
target_include_directories(${PROJECT} PRIVATE ${FONTCONFIG_INCLUDE_DIRS})
|
||||
endif ()
|
||||
endif ()
|
||||
if (NOT MINGW AND NOT MSVC)
|
||||
target_include_directories(${PROJECT} SYSTEM PRIVATE ${ICU_INCLUDE_DIRS})
|
||||
endif ()
|
||||
|
||||
# To avoid unnecessary rebuilds set the current branch and
|
||||
# short sha1 only for the two files that use these
|
||||
|
|
Loading…
Reference in New Issue