summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorErik Kundiman <erik@megapahit.org>2024-08-10 21:05:09 +0800
committerErik Kundiman <erik@megapahit.org>2024-08-10 21:05:09 +0800
commitb3e60cdc77bc0cdf221416a4d0669df8f5954245 (patch)
tree52c3e4f91b8fbd3dc5865ccc9a3107ef03dc4dd0
parent72c5668d54dd7f0fd43ce084cee84ea07662c4ae (diff)
Fix Meshoptimizer CMAKE_OSX_ARCHITECTURES value
It is decided that on x86-64, it's compiled too instead of using LL's (old) prebuilt libmeshoptimizer.a.
-rw-r--r--indra/cmake/Meshoptimizer.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/cmake/Meshoptimizer.cmake b/indra/cmake/Meshoptimizer.cmake
index 07ea3120a7..07bf0a71da 100644
--- a/indra/cmake/Meshoptimizer.cmake
+++ b/indra/cmake/Meshoptimizer.cmake
@@ -41,7 +41,7 @@ if (${LINUX_DISTRO} MATCHES fedora OR DARWIN OR NOT USESYSTEMLIBS)
if (DARWIN)
execute_process(
COMMAND cmake
- -DCMAKE_OSX_ARCHITECTURES:STRING=arm64
+ -DCMAKE_OSX_ARCHITECTURES:STRING=${CMAKE_OSX_ARCHITECTURES}
-DCMAKE_OSX_DEPLOYMENT_TARGET:STRING=10.15
.
WORKING_DIRECTORY /tmp/meshoptimizer-0.21