summaryrefslogtreecommitdiff
path: root/xmake/modules
diff options
context:
space:
mode:
authorruki <[email protected]>2022-04-15 23:10:37 +0800
committerruki <[email protected]>2022-04-15 23:10:37 +0800
commit2979fd9975dd4d16ef33f18bc2d70c67909c5fe7 (patch)
treeff4a090ffe01f19862691b875eb59d55e8dce10b /xmake/modules
parentf15c240d254126ab5b4ba0db0cd6acb5d3090dd3 (diff)
fix libdir
Diffstat (limited to 'xmake/modules')
-rw-r--r--xmake/modules/package/tools/cmake.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/xmake/modules/package/tools/cmake.lua b/xmake/modules/package/tools/cmake.lua
index cced3c96f..f9bd08d05 100644
--- a/xmake/modules/package/tools/cmake.lua
+++ b/xmake/modules/package/tools/cmake.lua
@@ -517,7 +517,7 @@ function _get_configs_for_install(package, configs, opt)
--
table.insert(configs, "-DCMAKE_INSTALL_PREFIX=" .. package:installdir())
if not opt._configs_str:find("CMAKE_INSTALL_LIBDIR") then
- table.insert(configs, "-DCMAKE_INSTALL_LIBDIR=" .. package:installdir("lib"))
+ table.insert(configs, "-DCMAKE_INSTALL_LIBDIR=lib")
end
end