diff options
| author | ruki <[email protected]> | 2021-10-20 00:43:14 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2021-10-20 00:43:14 +0800 |
| commit | 6cc23f1211ea6f635393e9d6a02ef93857bca9ab (patch) | |
| tree | 1fbc64996aa6b37ac183c0577b675af4f95bdf30 /xmake/modules/cli/amalgamate.lua | |
| parent | 1c92df260a519c84b647a07da5f7a85b4d792ff1 (diff) | |
fix cmake importfiles for headeronly
Diffstat (limited to 'xmake/modules/cli/amalgamate.lua')
| -rw-r--r-- | xmake/modules/cli/amalgamate.lua | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/xmake/modules/cli/amalgamate.lua b/xmake/modules/cli/amalgamate.lua index e495ae70b..a9835eda6 100644 --- a/xmake/modules/cli/amalgamate.lua +++ b/xmake/modules/cli/amalgamate.lua @@ -35,8 +35,8 @@ local options = -- generate code function _generate_amalgamate_code(target, opt) - -- only for library - if not target:is_library() then + -- only for library/binary + if not target:is_library() and not target:is_binary() then return end |
