diff options
| -rw-r--r-- | xmake/core/project/target.lua | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/xmake/core/project/target.lua b/xmake/core/project/target.lua index be787619b..d5de85ddc 100644 --- a/xmake/core/project/target.lua +++ b/xmake/core/project/target.lua @@ -191,6 +191,9 @@ function _instance:_copiedfiles(filetype, outputdir, pathfilter) if count == 0 then rootdir = nil end + if rootdir and rootdir:trim() == "" then + rootdir = nil + end -- remove '(' and ')' local srcpaths = copiedfile:gsub("[%(%)]", "") |
