Skip to content

Commit

Permalink
[Meson] Add an option native: false for add_languages
Browse files Browse the repository at this point in the history
  • Loading branch information
amontoison authored and jfowkes committed Jan 16, 2024
1 parent a9a4946 commit 0b63287
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion meson.build
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ project(
cc = meson.get_compiler('c')
cxx = meson.get_compiler('cpp')
fc = meson.get_compiler('fortran')
nvcc_available = add_languages('cuda', required: false)
nvcc_available = add_languages('cuda', required: false, native: false)

# Remove messages about deprecated Intel compilers
if cc.get_id() == 'intel'
Expand Down

0 comments on commit 0b63287

Please sign in to comment.