From fcf64a67658555e3dc3ebb06045645e21de9188f Mon Sep 17 00:00:00 2001 From: ruki Date: Mon, 7 Feb 2022 23:19:24 +0800 Subject: fix rootdir --- xmake/core/project/target.lua | 6 +++--- 1 file 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 ')' -- cgit v1.3.1