1
0
Fork 0
mirror of https://github.com/OpenMW/openmw.git synced 2025-01-22 11:23:52 +00:00
openmw/files/builtin_scripts/CMakeLists.txt
2022-04-06 21:55:05 +02:00

23 lines
485 B
CMake

if (NOT DEFINED OPENMW_RESOURCES_ROOT)
return()
endif()
set(LUA_BUILTIN_FILES
builtin.omwscripts
openmw_aux/util.lua
openmw_aux/time.lua
openmw_aux/calendar.lua
scripts/omw/ai.lua
scripts/omw/camera.lua
scripts/omw/head_bobbing.lua
scripts/omw/third_person.lua
i18n/Calendar/en.lua
)
foreach (f ${LUA_BUILTIN_FILES})
copy_resource_file("${CMAKE_CURRENT_SOURCE_DIR}/${f}" "${OPENMW_RESOURCES_ROOT}" "resources/vfs/${f}")
endforeach (f)