add_subdirectory( filters )
add_subdirectory( paintops )
add_subdirectory( tools )
add_subdirectory( viewplugins )

find_package(GLPK)
set(REQUIRED_GLPK_VERSION 419)
if(GLPK_FOUND AND NOT GLPK_VERSION LESS ${REQUIRED_GLPK_VERSION})
    add_subdirectory( painterlyframework )
else(GLPK_FOUND AND NOT GLPK_VERSION LESS ${REQUIRED_GLPK_VERSION})
    message(STATUS "Could not find the GLPK library version 4.19 or later. The painterly mixer plugin will not be built.")
endif(GLPK_FOUND AND NOT GLPK_VERSION LESS ${REQUIRED_GLPK_VERSION})
