Commit fcb638ff90e9e21fca428ba34d0ea74a232e1e73

Wouter Wijsman 2022-01-03T19:12:09

Copy test resources to correct directory on PSP

1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/test/CMakeLists.txt b/test/CMakeLists.txt
index f022d87..043d864 100644
--- a/test/CMakeLists.txt
+++ b/test/CMakeLists.txt
@@ -253,7 +253,7 @@ endif()
 foreach(APP IN LISTS NEEDS_RESOURCES)
     foreach(RESOURCE_FILE ${RESOURCE_FILES})
         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()
             add_custom_command(TARGET ${APP} POST_BUILD COMMAND ${CMAKE_COMMAND} ARGS -E copy_if_different ${RESOURCE_FILE} $<TARGET_FILE_DIR:${APP}>)
         endif()