summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorruki <[email protected]>2024-01-18 00:43:44 +0800
committerruki <[email protected]>2024-01-18 00:43:44 +0800
commitcb9c540ac364f0036e090d18898ea1109bc211dc (patch)
tree21ca7a78abf7fa8be2f24496053cd0194806adf6
parent1aba31a040016a11c20159997bfc1c36bf3cbf92 (diff)
revert system libs
-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