ROOT: unset MACOSX_DEPLOYMENT_TARGET for macOS (#28163)
This commit is contained in:
parent
e40eceba4c
commit
8daaee3ed6
1 changed files with 5 additions and 0 deletions
|
@ -602,6 +602,11 @@ def add_include_path(dep_name):
|
|||
if '+opengl' in spec:
|
||||
add_include_path('glew')
|
||||
add_include_path('mesa-glu')
|
||||
if 'platform=darwin' in spec:
|
||||
# Newer deployment targets cause fatal errors in rootcling, so
|
||||
# override with an empty value even though it may lead to link
|
||||
# warnings when building against ROOT
|
||||
env.unset('MACOSX_DEPLOYMENT_TARGET')
|
||||
|
||||
def setup_run_environment(self, env):
|
||||
env.set('ROOTSYS', self.prefix)
|
||||
|
|
Loading…
Reference in a new issue