[EFL] Fix destination path in Source/PlatformEfl.cmake
[WebKit-https.git] / Source / PlatformEfl.cmake
1 add_subdirectory(${WEBKIT_DIR}/efl/DefaultTheme)
2
3 if (ENABLE_INSPECTOR)
4     add_custom_target(
5         web-inspector-resources ALL
6         COMMAND ${CMAKE_COMMAND} -E copy_directory ${WEBCORE_DIR}/inspector/front-end ${WEB_INSPECTOR_DIR}
7         COMMAND ${CMAKE_COMMAND} -E copy ${WEBCORE_DIR}/English.lproj/localizedStrings.js ${WEB_INSPECTOR_DIR}
8         COMMAND ${CMAKE_COMMAND} -E copy ${DERIVED_SOURCES_WEBCORE_DIR}/InspectorBackendCommands.js ${WEB_INSPECTOR_DIR}
9         DEPENDS ${WebCore_LIBRARY_NAME}
10         WORKING_DIRECTORY ${CMAKE_BINARY_DIR}
11     )
12     install(DIRECTORY "${CMAKE_BINARY_DIR}/${WEB_INSPECTOR_DIR}"
13         DESTINATION ${DATA_INSTALL_DIR}
14         FILES_MATCHING PATTERN "*.js"
15                        PATTERN "*.html"
16                        PATTERN "*.css"
17                        PATTERN "*.gif"
18                        PATTERN "*.png")
19 endif ()