From 2add951f7000dd8de5b70546f5b0771866ac86dd Mon Sep 17 00:00:00 2001 From: Flyinghead Date: Tue, 16 Jan 2024 11:39:29 +0100 Subject: [PATCH] switch build fix --- CMakeLists.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 5f89007dd1..0aceba4e7a 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1780,8 +1780,8 @@ if(NINTENDO_SWITCH) COMMAND ${CMAKE_AR} -x $ COMMAND ${CMAKE_AR} -x $ COMMAND ${CMAKE_AR} -x $ - COMMAND ${CMAKE_AR} -rs flycast_libretro_libnx.a *.obj - COMMAND rm *.obj + COMMAND ${CMAKE_AR} -rs flycast_libretro_libnx.a *.o + COMMAND rm *.o WORKING_DIRECTORY ${CMAKE_BINARY_DIR}/${CMAKE_ARCHIVE_OUTPUT_DIRECTORY} DEPENDS xxHash::xxhash chdr-static zip ${PROJECT_NAME}) else()