[gbabuildcore] Fix for updated build paths

This commit is contained in:
Gary Talent 2023-07-01 16:19:29 -05:00
parent 261b28f59f
commit 79d43b56fb

View File

@ -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