summaryrefslogtreecommitdiff
path: root/xmake/modules/private
diff options
context:
space:
mode:
authorruki <[email protected]>2020-04-21 22:40:34 +0800
committerruki <[email protected]>2020-04-21 10:03:26 +0800
commit2f67e772cea01c426caeafb5edf1f73c375de9e5 (patch)
treebbaedc9dea02c1f1a7284d58b40d387bb6f903f3 /xmake/modules/private
parentaf27042d57fb0b4603d22c4f15121c87fec6894d (diff)
fix cmake config
Diffstat (limited to 'xmake/modules/private')
-rw-r--r--xmake/modules/private/action/trybuild/cmake.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/xmake/modules/private/action/trybuild/cmake.lua b/xmake/modules/private/action/trybuild/cmake.lua
index 9007c53c8..8ca785a47 100644
--- a/xmake/modules/private/action/trybuild/cmake.lua
+++ b/xmake/modules/private/action/trybuild/cmake.lua
@@ -39,7 +39,7 @@ end
function _get_configs(artifacts_dir)
-- add prefix
- local configs = {"-DCMAKE_INSTALL_PREFIX=" .. artifacts_dir, "-DDCMAKE_INSTALL_LIBDIR=" .. path.join(artifacts_dir, "lib")}
+ local configs = {"-DCMAKE_INSTALL_PREFIX=" .. artifacts_dir, "-DCMAKE_INSTALL_LIBDIR=" .. path.join(artifacts_dir, "lib")}
if is_plat("windows") and is_arch("x64") then
table.insert(configs, "-A")
table.insert(configs, "x64")