blob: 08d49f7596a8580a0d499ab6f32f91cddd3ae907 [file] [log] [blame]
if (${WTF_PLATFORM_WIN_CAIRO})
add_definitions(-DWIN_CAIRO)
include(Cairo.cmake)
else ()
include(PlatformMac.cmake)
endif ()
add_library(ImageDiffLib SHARED ${IMAGE_DIFF_SOURCES})
target_link_libraries(ImageDiffLib ${IMAGE_DIFF_LIBRARIES})
add_definitions(-DUSE_CONSOLE_ENTRY_POINT)
set(IMAGE_DIFF_SOURCES ${TOOLS_DIR}/win/DLLLauncher/DLLLauncherMain.cpp)
set(IMAGE_DIFF_LIBRARIES shlwapi)