diff options
author | Erik Kundiman <erik@megapahit.org> | 2024-08-12 15:37:45 +0800 |
---|---|---|
committer | Erik Kundiman <erik@megapahit.org> | 2024-08-12 15:37:45 +0800 |
commit | bef1c20c4c8e3c081066478381056932a188faa6 (patch) | |
tree | f7f5e10ed525acd2a7b468e363da224c234186c6 /indra | |
parent | a350a4a26070a621fcfab58548f7993d158c1cd6 (diff) |
Automatically lipo -thin libfmod.dylib
Diffstat (limited to 'indra')
-rw-r--r-- | indra/cmake/FMODSTUDIO.cmake | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/indra/cmake/FMODSTUDIO.cmake b/indra/cmake/FMODSTUDIO.cmake index 5b99a01413..92bef238d7 100644 --- a/indra/cmake/FMODSTUDIO.cmake +++ b/indra/cmake/FMODSTUDIO.cmake @@ -50,8 +50,10 @@ if (USE_FMODSTUDIO) inc/fmod_errors.h inc/fmod_output.h ${AUTOBUILD_INSTALL_DIR}/include/fmodstudio/ - COMMAND cp - ${AUTOBUILD_INSTALL_DIR}/lib/release/ + COMMAND lipo + lib/libfmod.dylib + -thin ${CMAKE_OSX_ARCHITECTURES} + -output ${AUTOBUILD_INSTALL_DIR}/lib/release/libfmod.dylib WORKING_DIRECTORY /Volumes/FMOD\ Programmers\ API\ Mac/FMOD\ Programmers\ API/api/core ) execute_process( |