add_subdirectory(shaders)
add_subdirectory(data)
add_subdirectory(data-mw)
add_subdirectory(lua_api)

if (NOT DEFINED OPENMW_RESOURCES_ROOT)
    return()
endif()

copy_resource_file("launcher/images/openmw.png" "${OPENMW_RESOURCES_ROOT}" "resources/openmw.png")
copy_resource_file("pinyin.txt" "${OPENMW_RESOURCES_ROOT}" "pinyin.txt")
copy_resource_file("journal_japanese_yomi.tsv" "${OPENMW_RESOURCES_ROOT}" "journal_japanese_yomi.tsv")
copy_resource_file("japanese_fallback_overrides.tsv" "${OPENMW_RESOURCES_ROOT}" "japanese_fallback_overrides.tsv")
