diff options
| author | ruki <[email protected]> | 2021-03-09 22:33:04 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2021-03-09 22:33:04 +0800 |
| commit | 8b1b39ce7a9f342699c73aaede4b627ae151c31a (patch) | |
| tree | 5ab9417065ef1b3f90bf32d488f463f5fb66483b | |
| parent | 5a34720659d9a22096bd209b591e720bc3d7bbe9 (diff) | |
revert some wrong changes
| -rw-r--r-- | xmake/core/project/target.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xmake/core/project/target.lua b/xmake/core/project/target.lua index 84b4772a2..ee7e3f519 100644 --- a/xmake/core/project/target.lua +++ b/xmake/core/project/target.lua @@ -1574,7 +1574,7 @@ function _instance:sourcebatches() -- attempt to get source kind from the builtin languages local sourcekind = self:sourcekind_of(sourcefile) - if sourcekind and filerule:get("sourcekinds") and not override then + if sourcekind and not override then -- save source kind sourcebatch.sourcekind = sourcekind |
