diff options
| -rw-r--r-- | xmake/core/project/target.lua | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/xmake/core/project/target.lua b/xmake/core/project/target.lua index 3bf40be81..05e4a1476 100644 --- a/xmake/core/project/target.lua +++ b/xmake/core/project/target.lua @@ -192,7 +192,7 @@ function _instance:_copiedfiles(filetype, outputdir, pathfilter) rootdir = nil end if rootdir and rootdir:trim() == "" then - rootdir = nil + rootdir = "." end -- remove '(' and ')' @@ -1474,7 +1474,7 @@ function _instance:headerfiles(outputdir, only_deprecated) rootdir = nil end if rootdir and rootdir:trim() == "" then - rootdir = nil + rootdir = "." end -- remove '(' and ')' first @@ -1854,7 +1854,7 @@ function _instance:configheader(outputdir) rootdir = nil end if rootdir and rootdir:trim() == "" then - rootdir = nil + rootdir = "." end -- remove '(' and ')' |
