2021-12-07 10:31:41 +00:00
|
|
|
if (NOT DEFINED OPENMW_BINARY_ROOT)
|
2019-06-01 11:57:26 +00:00
|
|
|
return()
|
|
|
|
endif()
|
|
|
|
|
|
|
|
# Copy resource files into the build directory
|
|
|
|
set(SDIR ${CMAKE_CURRENT_SOURCE_DIR})
|
|
|
|
set(DDIRRELATIVE resources/vfs/textures)
|
|
|
|
|
|
|
|
set(TEXTURE_FILES
|
|
|
|
textures/omw_menu_scroll_down.dds
|
|
|
|
textures/omw_menu_scroll_up.dds
|
|
|
|
textures/omw_menu_scroll_left.dds
|
|
|
|
textures/omw_menu_scroll_right.dds
|
|
|
|
textures/omw_menu_scroll_center_h.dds
|
|
|
|
textures/omw_menu_scroll_center_v.dds
|
|
|
|
)
|
|
|
|
|
2021-12-07 10:31:41 +00:00
|
|
|
copy_all_resource_files(${CMAKE_CURRENT_SOURCE_DIR} ${OPENMW_BINARY_ROOT} ${DDIRRELATIVE} "${TEXTURE_FILES}")
|