summaryrefslogtreecommitdiff
path: root/xmake/modules/package/tools/cmake.lua
diff options
context:
space:
mode:
Diffstat (limited to 'xmake/modules/package/tools/cmake.lua')
-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