[CMake] Apple builds should use ICU_INCLUDE_DIRS
[WebKit-https.git] / Source / cmake / OptionsJSCOnly.cmake
index 9476adc..2affab7 100644 (file)
@@ -99,5 +99,6 @@ if (NOT APPLE)
     find_package(ICU REQUIRED)
 else ()
     add_definitions(-DU_DISABLE_RENAMING=1 -DU_SHOW_CPLUSPLUS_API=0)
+    set(ICU_INCLUDE_DIRS ${CMAKE_BINARY_DIR}/ICU/Headers)
     set(ICU_LIBRARIES libicucore.dylib)
 endif ()