From 79d43b56fb2877480e2c207f62d6d7ac061dbc31 Mon Sep 17 00:00:00 2001 From: Gary Talent Date: Sat, 1 Jul 2023 16:19:29 -0500 Subject: [PATCH] [gbabuildcore] Fix for updated build paths --- deps/gbabuildcore/cmake/modules/GBA.cmake | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/deps/gbabuildcore/cmake/modules/GBA.cmake b/deps/gbabuildcore/cmake/modules/GBA.cmake index abb11d5e..3c28a622 100644 --- a/deps/gbabuildcore/cmake/modules/GBA.cmake +++ b/deps/gbabuildcore/cmake/modules/GBA.cmake @@ -24,8 +24,8 @@ add_definitions(-DARM7) include(FindPackageHandleStandardArgs) macro(OBJCOPY_FILE EXE_NAME) - set(FO ${CMAKE_CURRENT_BINARY_DIR}/${EXE_NAME}.bin) - set(FI ${CMAKE_CURRENT_BINARY_DIR}/${EXE_NAME}) + set(FO ${CMAKE_RUNTIME_OUTPUT_DIRECTORY}/${EXE_NAME}.bin) + set(FI ${CMAKE_RUNTIME_OUTPUT_DIRECTORY}/${EXE_NAME}) message(STATUS ${FO}) # run objcopy