From 98a97e2faf67a1cc913ddd93ba8feea4368712ea Mon Sep 17 00:00:00 2001 From: ruki Date: Thu, 28 Apr 2022 00:48:46 +0800 Subject: improve tools.cmake --- 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 f9bd08d05..a423deead 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=lib") + table.insert(configs, "-DCMAKE_INSTALL_LIBDIR:PATH=lib") end end -- cgit v1.3.1