1
0
Fork 0
mirror of https://github.com/OpenMW/openmw.git synced 2025-01-22 06:53:53 +00:00
openmw/files/builtin_scripts/CMakeLists.txt
2022-04-10 07:57:02 +00:00

23 lines
486 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
l10n/Calendar/en.yaml
)
foreach (f ${LUA_BUILTIN_FILES})
copy_resource_file("${CMAKE_CURRENT_SOURCE_DIR}/${f}" "${OPENMW_RESOURCES_ROOT}" "resources/vfs/${f}")
endforeach (f)