Merge pull request #12 from lat9nq/subdir-fix

generate_binary_list: Fix recursive sub dirs
This commit is contained in:
toast2903 2023-10-11 16:36:46 -04:00 committed by GitHub
commit 0d17dd066d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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