diff options
| -rw-r--r-- | xmake/modules/private/action/trybuild/cmake.lua | 2 |
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 8e8e08ec5..4b57562c8 100644 --- a/xmake/modules/private/action/trybuild/cmake.lua +++ b/xmake/modules/private/action/trybuild/cmake.lua @@ -317,7 +317,7 @@ end function _get_configs(artifacts_dir) -- add prefix - local configs = {"-DCMAKE_INSTALL_PREFIX=" .. artifacts_dir, "-DCMAKE_INSTALL_LIBDIR=" .. path.join(artifacts_dir, "lib")} + local configs = {"-DCMAKE_INSTALL_PREFIX=" .. artifacts_dir, "-DCMAKE_INSTALL_LIBDIR:PATH=lib"} if is_plat("windows") then _get_configs_for_windows(configs) elseif is_plat("android") then |
