[EFL] Move ImageDiff to the Tools directory root
[WebKit-https.git] / Tools / ImageDiff / CMakeLists.txt
1 set(IMAGE_DIFF_DIR "${TOOLS_DIR}/ImageDiff")
2
3 set(IMAGE_DIFF_INCLUDE_DIRECTORIES
4     ${CMAKE_BINARY_DIR}
5     ${WTF_DIR}
6 )
7
8 set(IMAGE_DIFF_LIBRARIES
9     ${WTF_LIBRARY_NAME}
10 )
11
12 INCLUDE_IF_EXISTS(${IMAGE_DIFF_DIR}/Platform${PORT}.cmake)
13
14 include_directories(${IMAGE_DIFF_INCLUDE_DIRECTORIES})
15 add_executable(ImageDiff ${IMAGE_DIFF_SOURCES})
16 target_link_libraries(ImageDiff ${IMAGE_DIFF_LIBRARIES})
17 set_target_properties(ImageDiff PROPERTIES FOLDER "Tools")