opus
opus copied to clipboard
Fix macOS framework builds
This PR fixes 2 issues with CI builds of macOS framework:
- Correct flag should be
OPUS_BUILD_FRAMEWORK, notBUILD_FRAMEWORK. - Correct
CMAKE_OSX_ARCHITECTURESshould be set, otherwise host arch will be used.
P.S.
2 more thoughts:
- I haven't checked myself, but iOS framework should also use
OPUS_BUILD_FRAMEWORK, notBUILD_FRAMEWORK -
FRAMEWORK_VERSIONin cmake list should be probably set to "A" (major verison), not${PROJECT_VERSION}