[CMake] Apple builds should use ICU_INCLUDE_DIRS
[WebKit-https.git] / Tools / TestWebKitAPI / PlatformMac.cmake
index 8c10a0a..5560242 100644 (file)
@@ -2,7 +2,6 @@ set(TESTWEBKITAPI_RUNTIME_OUTPUT_DIRECTORY "${CMAKE_RUNTIME_OUTPUT_DIRECTORY}")
 set(TESTWEBKITAPI_RUNTIME_OUTPUT_DIRECTORY_WTF "${TESTWEBKITAPI_RUNTIME_OUTPUT_DIRECTORY}")
 
 include_directories(
-    "${DERIVED_SOURCES_WTF_DIR}"
     "${FORWARDING_HEADERS_DIR}"
 )
 
@@ -19,7 +18,7 @@ list(APPEND test_wtf_LIBRARIES
     ${CARBON_LIBRARY}
     ${COCOA_LIBRARY}
     ${COREFOUNDATION_LIBRARY}
-    libicucore.dylib
+    ${ICU_LIBRARIES}
 )
 
 list(APPEND TestWebKitAPI_LIBRARIES