<div dir="auto"><div class="gmail_quote" dir="auto"><div dir="ltr" class="gmail_attr">Op zo 18 sep. 2022 11:55 schreef Cristian Adam <<a href="mailto:cristian.adam@gmail.com">cristian.adam@gmail.com</a>>:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div dir="ltr"><div dir="ltr">Hi,<div><br></div><div>Building with CMake for both x86_64 and aarch64 for MacOS is as easy as setting the CMake configuration </div><div>variable: <font face="monospace">"-DCMAKE_OSX_ARCHITECTURES=x86_64;arm64" </font><font face="arial, sans-serif">when configuring the project.</font></div></div></div></div></blockquote></div><div dir="auto"><br></div><div dir="auto"><br></div><div dir="auto">That might be enough to make CMake understand whats going on, but with the current way FLAC uses CMake, I doubt it will be able to get things building optimally.</div><div dir="auto"><br></div><div dir="auto">For example, CMake sets FLAC__CPU_ARM64. To what should it set this in the case of an universal build?</div><div dir="auto"><br></div><div dir="auto">That's why I think both building systems and the code need some work before this works correctly.</div><div class="gmail_quote" dir="auto"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
</blockquote></div></div>