
find_package(glfw3 QUIET)

if (glfw3_FOUND)
    list(APPEND pengu_libraries glfw)

    message(${pengu_config_msg} " GLFW    -   " ${glfw3_VERSION})
else()
    if (EXISTS "${pengu_lib_path}/glfw")
        add_subdirectory(${pengu_lib}/glfw)

        list(APPEND pengu_libraries glfw)
        list(APPEND pengu_includes ${pengu_lib_path}/glfw/include)

        message(${pengu_config_msg} " GLFW    -   " ${glfw3_VERSION})
    else()
        message(WARNING "GLFW is required..! Update the submodules!")
    endif ()
endif ()
