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

Include ICU include dirs in testpaint (#8622)

`testpaint` uses ICU headers, so add the ICU_INCLUDE_DIR to the target.
This commit is contained in:
Tom Lankhorst
2019-01-23 14:30:49 +01:00
committed by Michał Janiszewski
parent bca8870667
commit 22fac20907

View File

@@ -90,6 +90,7 @@ if (NOT MINGW AND NOT MSVC)
# For unicode code page conversion
find_package(ICU 59.0 REQUIRED COMPONENTS uc)
target_link_libraries(testpaint ${ICU_LIBRARIES})
target_include_directories(testpaint SYSTEM PUBLIC ${ICU_INCLUDE_DIRS})
endif ()
# Only use custom linker script for 32 bit builds. For 64 bit builds, it should still _compile_.