summaryrefslogtreecommitdiff
path: root/xmake/modules/package/tools/cmake.lua
diff options
context:
space:
mode:
authorruki <[email protected]>2022-04-28 00:48:46 +0800
committerruki <[email protected]>2022-04-28 00:48:46 +0800
commit98a97e2faf67a1cc913ddd93ba8feea4368712ea (patch)
tree64a402e09d910fa6fe3a5a659a607e0818649d81 /xmake/modules/package/tools/cmake.lua
parent17fdd4aae3d4b9f4e846d9c09eb31e3dcf953e16 (diff)
improve tools.cmake
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 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