diff options
| -rw-r--r-- | xmake/modules/package/tools/cmake.lua | 2 |
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 |
