mirror of https://github.com/encounter/SDL.git
Copy test resources to correct directory on PSP
This commit is contained in:
parent
5e84f6384f
commit
fcb638ff90
|
@ -253,7 +253,7 @@ endif()
|
||||||
foreach(APP IN LISTS NEEDS_RESOURCES)
|
foreach(APP IN LISTS NEEDS_RESOURCES)
|
||||||
foreach(RESOURCE_FILE ${RESOURCE_FILES})
|
foreach(RESOURCE_FILE ${RESOURCE_FILES})
|
||||||
if(PSP)
|
if(PSP)
|
||||||
add_custom_command(TARGET ${APP} POST_BUILD COMMAND ${CMAKE_COMMAND} ARGS -E copy_if_different ${RESOURCE_FILE} $<TARGET_FILE_DIR:${APP}>/psp-${APP})
|
add_custom_command(TARGET ${APP} POST_BUILD COMMAND ${CMAKE_COMMAND} ARGS -E copy_if_different ${RESOURCE_FILE} $<TARGET_FILE_DIR:${APP}>/sdl-${APP})
|
||||||
else()
|
else()
|
||||||
add_custom_command(TARGET ${APP} POST_BUILD COMMAND ${CMAKE_COMMAND} ARGS -E copy_if_different ${RESOURCE_FILE} $<TARGET_FILE_DIR:${APP}>)
|
add_custom_command(TARGET ${APP} POST_BUILD COMMAND ${CMAKE_COMMAND} ARGS -E copy_if_different ${RESOURCE_FILE} $<TARGET_FILE_DIR:${APP}>)
|
||||||
endif()
|
endif()
|
||||||
|
|
Loading…
Reference in New Issue