Skip to content

Commit

Permalink
Test the maya subproject
Browse files Browse the repository at this point in the history
  • Loading branch information
tbttfox committed Sep 13, 2024
1 parent 663d03a commit b580f23
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions subprojects/maya/meson.build
Original file line number Diff line number Diff line change
Expand Up @@ -27,14 +27,13 @@ elif os_name == 'darwin'
endif
maya_compile_args += ['-DOSMac_']
if meson.get_compiler('cpp').get_id() == 'clang'
maya_compile_args += ['--std', 'c++17', '--stdlib', 'libc++']
maya_compile_args += ['-arch', 'x86_64']
maya_link_args += ['-arch', 'x86_64']
maya_compile_args += ['--stdlib', 'libc++']
if maya_version.version_compare('>=2024')
# build both the arm and x86 plugins when compiling for mac
maya_compile_args += ['-arch', 'arm64']
maya_link_args += ['-arch', 'arm64']
else
maya_compile_args += ['-arch', 'x86_64']
maya_link_args += ['-arch', 'x86_64']
endif
endif

Expand Down

0 comments on commit b580f23

Please sign in to comment.