From 22fac20907c540009557e6cdf6b2f60363e4816d Mon Sep 17 00:00:00 2001 From: Tom Lankhorst Date: Wed, 23 Jan 2019 14:30:49 +0100 Subject: [PATCH] Include ICU include dirs in testpaint (#8622) `testpaint` uses ICU headers, so add the ICU_INCLUDE_DIR to the target. --- test/testpaint/CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/test/testpaint/CMakeLists.txt b/test/testpaint/CMakeLists.txt index 038dc431ef..83faee5fef 100644 --- a/test/testpaint/CMakeLists.txt +++ b/test/testpaint/CMakeLists.txt @@ -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_.