REGRESSION(r240909): Release assertion in FrameLoader::loadPostRequest when opening...
[WebKit-https.git] / Tools / ImageDiff / CMakeLists.txt
1 set(IMAGE_DIFF_DIR "${TOOLS_DIR}/ImageDiff")
2
3 set(IMAGE_DIFF_SYSTEM_INCLUDE_DIRECTORIES "")
4
5 set(IMAGE_DIFF_SOURCES
6     ${IMAGE_DIFF_DIR}/ImageDiff.cpp
7     ${IMAGE_DIFF_DIR}/PlatformImage.cpp
8 )
9
10 set(IMAGE_DIFF_INCLUDE_DIRECTORIES
11     ${IMAGE_DIFF_DIR}
12 )
13
14 WEBKIT_INCLUDE_CONFIG_FILES_IF_EXISTS()
15
16 include_directories(${IMAGE_DIFF_INCLUDE_DIRECTORIES})
17 include_directories(SYSTEM ${IMAGE_DIFF_SYSTEM_INCLUDE_DIRECTORIES})
18 add_executable(ImageDiff ${IMAGE_DIFF_SOURCES})
19 target_link_libraries(ImageDiff ${IMAGE_DIFF_LIBRARIES})
20
21 if (WIN32)
22     add_dependencies(ImageDiff ImageDiffLib)
23 endif ()