[CMake] Apple builds should use ICU_INCLUDE_DIRS
[WebKit-https.git] / Source / WTF / CMakeLists.txt
1 cmake_minimum_required(VERSION 2.8.12)
2 include(WebKitCommon)
3 set_property(DIRECTORY . PROPERTY FOLDER "WTF")
4
5 add_subdirectory(wtf)
6
7 # Apple builds have the ICU headers checked into ${WTF_DIR}/icu
8 # Copy them into ${ICU_INCLUDE_DIRS} so the build behaves like find_package was used
9 if (APPLE)
10     file(COPY ${WTF_DIR}/icu/unicode DESTINATION ${ICU_INCLUDE_DIRS})
11 endif ()