Skip to content

Commit

Permalink
Merge pull request #6 from no92/g++-lazy-require
Browse files Browse the repository at this point in the history
meta: only check for the C++ compiler when needed
  • Loading branch information
avdgrinten authored Jun 1, 2024
2 parents 600b98d + 9511e39 commit 3a683bf
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion meson.build
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
project('bragi', 'cpp', default_options: ['cpp_std=c++2a'])
project('bragi', default_options: ['cpp_std=c++2a'])

bragi_inc = include_directories('include')
bragi_dep = declare_dependency(include_directories: bragi_inc)
Expand All @@ -13,5 +13,6 @@ if get_option('install_headers')
endif

if get_option('build_tests')
add_languages('cpp')
subdir('tests')
endif

0 comments on commit 3a683bf

Please sign in to comment.