Merge pull request #12 from lat9nq/subdir-fix
generate_binary_list: Fix recursive sub dirs
This commit is contained in:
@@ -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()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user