add_subdirectory(LineSampler)

if(KRITA_KIS_TRANSFORM_WORKER_H_FOUND AND KRITA_KIS_FILTER_STRATEGY_H_FOUND)
    add_subdirectory(deskew)
else(KRITA_KIS_TRANSFORM_WORKER_H_FOUND AND KRITA_KIS_FILTER_STRATEGY_H_FOUND)
    message(STATUS "kis_filter_strategy.h or kis_transform_worker.h is not installed, the deskew plugin won't be builded.")
endif(KRITA_KIS_TRANSFORM_WORKER_H_FOUND AND KRITA_KIS_FILTER_STRATEGY_H_FOUND)

find_package(GMM)

if(GMM_FOUND)
    add_subdirectory(ImageComplete)
else(GMM_FOUND)
    message(STATUS "GMM is not found, the ImageComplete plugin won't be builded.")
endif(GMM_FOUND)
