generate_binary_list: Fix recursive sub dirs

This commit is contained in:
lat9nq 2023-10-11 16:34:27 -04:00
parent c636ed91ca
commit 735363404b

View File

@ -40,7 +40,11 @@ function(get_files_nx TARG SUB_DIR)
if (NOT DIR OR DIR STREQUAL "\n")
continue()
endif()
get_files_nx(${TARG}/${DIR} ${DIR})
if (SUB_DIR)
get_files_nx(${TARG}/${DIR} ${SUB_DIR}/${DIR})
else()
get_files_nx(${TARG}/${DIR} ${DIR})
endif()
endforeach()
endfunction()