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 fcf8b16de..6fd8ce855 100644 --- a/xmake/modules/package/tools/cmake.lua +++ b/xmake/modules/package/tools/cmake.lua @@ -562,6 +562,7 @@ function _get_configs_for_host_toolchain(package, configs, opt) envs.CMAKE_C_COMPILER = _translate_bin_path(package:build_getenv("cc")) envs.CMAKE_CXX_COMPILER = _translate_bin_path(package:build_getenv("cxx")) envs.CMAKE_ASM_COMPILER = _translate_bin_path(package:build_getenv("as")) + envs.CMAKE_RC_COMPILER = _translate_bin_path(package:build_getenv("mrc")) envs.CMAKE_AR = _translate_bin_path(package:build_getenv("ar")) -- https://github.com/xmake-io/xmake-repo/pull/1096 local cxx = envs.CMAKE_CXX_COMPILER |
