find_package(SDL2 QUIET)

if(NOT SDL2_FOUND)
    message(STATUS "SDL2 not found; skipping sdl plugin.")
    return()
endif()

create_fooyin_plugin_internal(
    sdl
    DEPENDS Fooyin::Core
            ${SDL2_LIBRARIES}
        SOURCES sdloutput.cpp
            sdloutput.h
        sdlplugin.cpp
        sdlplugin.h
)
