From 2979fd9975dd4d16ef33f18bc2d70c67909c5fe7 Mon Sep 17 00:00:00 2001 From: ruki Date: Fri, 15 Apr 2022 23:10:37 +0800 Subject: fix libdir --- xmake/modules/package/tools/cmake.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit v1.3.1