diff options
| -rw-r--r-- | xmake/modules/package/tools/cmake.lua | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/xmake/modules/package/tools/cmake.lua b/xmake/modules/package/tools/cmake.lua index 2599de853..fab2d0ff4 100644 --- a/xmake/modules/package/tools/cmake.lua +++ b/xmake/modules/package/tools/cmake.lua @@ -676,6 +676,7 @@ function _get_configs_for_cross(package, configs, opt) system_name = "Windows" end envs.CMAKE_SYSTEM_NAME = system_name + envs.CMAKE_SYSTEM_PROCESSOR = _get_cmake_system_processor(package) end if not package:is_plat("windows", "mingw") and package:config("pic") ~= false then table.insert(configs, "-DCMAKE_POSITION_INDEPENDENT_CODE=ON") |
