diff options
| author | Arthur LAURENT <[email protected]> | 2024-03-21 21:12:20 +0100 |
|---|---|---|
| committer | Arthur LAURENT <[email protected]> | 2024-03-21 21:12:20 +0100 |
| commit | 090a0c6a429a1a41ac0e7401c8392cac301e4d3e (patch) | |
| tree | 7ff17dddd95e6ca8bb87422e80ba945c2c491ca1 | |
| parent | 1ba52ff1c36ad48a656a881bbc959f944b68e028 (diff) | |
fix moduleonly libraries headers installation
| -rw-r--r-- | xmake/modules/target/action/install/unix.lua | 5 | ||||
| -rw-r--r-- | xmake/modules/target/action/install/windows.lua | 5 |
2 files changed, 10 insertions, 0 deletions
diff --git a/xmake/modules/target/action/install/unix.lua b/xmake/modules/target/action/install/unix.lua index 04dd60a01..71a6df42b 100644 --- a/xmake/modules/target/action/install/unix.lua +++ b/xmake/modules/target/action/install/unix.lua @@ -154,3 +154,8 @@ end function install_headeronly(target, opt) _install_headers(target, opt) end + +-- install moduleonly library +function install_moduleonly(target, opt) + _install_headers(target, opt) +end diff --git a/xmake/modules/target/action/install/windows.lua b/xmake/modules/target/action/install/windows.lua index d1e0ecbdf..d7b71387c 100644 --- a/xmake/modules/target/action/install/windows.lua +++ b/xmake/modules/target/action/install/windows.lua @@ -156,3 +156,8 @@ end function install_headeronly(target, opt) _install_headers(target, opt) end + +-- install moduleonly +function install_moduleonly(target, opt) + _install_headers(target, opt) +end |
