diff options
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( |