cmake_minimum_required(VERSION 2.6...3.29)
project(iff2html)

set(IFF2HTML_SOURCES
    iff2html.c
    md5.c
    image.c
    opngreduc.c
    ../../Libraries/FileHandler/bmp/read_bmp.c
)

include_directories(${FILEHANDLER_INCLUDE} ${LIBPNG_INCLUDE})

add_executable(iff2html ${IFF2HTML_SOURCES})
target_link_libraries(iff2html iff_static ${LIBPNG_LINK} ${ZLIB_LINK} m)
