axiomatic-systems / Bento4

Full-featured MP4 format, MPEG DASH, HLS, CMAF SDK and tools

Home Page:http://www.bento4.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

build problem with CMAKE_OSX_ARCHITECTURES var

CastagnaIT opened this issue · comments

Hi on a Kodi software library we are using bento4
but our build system already set the CMAKE_OSX_ARCHITECTURES var

recently with commit cbea428
has been added this line

set(CMAKE_OSX_ARCHITECTURES "arm64;x86_64" CACHE STRING "")

that set the CMAKE_OSX_ARCHITECTURES looks like that overwrite our config value, and cause to failed build of bento4

can you implement a logic to avoid to change/overwrite an existing CMAKE_OSX_ARCHITECTURES value?