diff options
| author | ruki <[email protected]> | 2021-09-17 17:39:42 +0800 |
|---|---|---|
| committer | GitHub <[email protected]> | 2021-09-17 17:39:42 +0800 |
| commit | 0108980f36b996d575a87c59ead44da8fd059490 (patch) | |
| tree | ad599e7fe8ef0029e5358b1b8ef31f4f9e2c7e0b | |
| parent | 1e44c983254c68ebb6eb93b865816b13e18aa68f (diff) | |
Update install.lua
| -rw-r--r-- | xmake/modules/private/action/require/impl/actions/install.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xmake/modules/private/action/require/impl/actions/install.lua b/xmake/modules/private/action/require/impl/actions/install.lua index fe040d25e..8e8d92d39 100644 --- a/xmake/modules/private/action/require/impl/actions/install.lua +++ b/xmake/modules/private/action/require/impl/actions/install.lua @@ -94,7 +94,7 @@ end -- fix paths for the precompiled package -- @see https://github.com/xmake-io/xmake/issues/1671 function _fix_paths_for_precompiled_package(package) - local filepaths = {path.join(package:installdir(), "**.cmake")} + local filepaths = {path.join(package:installdir(), "**.cmake|include/**")} for _, filepath in ipairs(filepaths) do for _, file in ipairs(os.files(filepath)) do io.gsub(file, "(\"(.-)\")", function(_, value) |
