Skip to content

Commit

Permalink
allow cmake to handle arch
Browse files Browse the repository at this point in the history
  • Loading branch information
kirbysayshi committed Jul 1, 2020
1 parent 0de0a27 commit 7d841a6
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion tools/fix-udt-cmake.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,9 @@ def main():

for line in fileinput.input(cmakelists, inplace=True, backup='.bak'):
line = line.replace('USE_AVFRAMEWORK;', '')
line = line.replace('-arch i386', '-arch x86_64')
# let cmake figure out the arch
line = line.replace('-arch i386', '')
line = line.replace('-arch x86_64', '')
line = line.replace('DashToHls_osx.pch',
cmake_current_source_dir +
'/universal-dash-transmuxer/library/DashToHls_osx.pch')
Expand Down

0 comments on commit 7d841a6

Please sign in to comment.