summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--xmake/modules/package/tools/cmake.lua5
1 files changed, 0 insertions, 5 deletions
diff --git a/xmake/modules/package/tools/cmake.lua b/xmake/modules/package/tools/cmake.lua
index 535aed862..859af33dc 100644
--- a/xmake/modules/package/tools/cmake.lua
+++ b/xmake/modules/package/tools/cmake.lua
@@ -435,11 +435,6 @@ function _get_configs_for_appleos(package, configs, opt)
envs.CMAKE_FIND_ROOT_PATH_MODE_PROGRAM = "NEVER"
-- avoid install bundle targets
envs.CMAKE_MACOSX_BUNDLE = "NO"
- -- avoids finding host include/library path for macOS/arm64 libraries on macOS/x86_64
- if package:is_plat("macosx") and package:is_cross() then
- envs.CMAKE_FIND_USE_CMAKE_SYSTEM_PATH = "0"
- envs.CMAKE_FIND_USE_INSTALL_PREFIX = "0"
- end
_insert_configs_from_envs(configs, envs, opt)
end