Added C++ standard as a compiler flag, which is apparently needed by compilers on macOS

master
Aadhavan Srinivasan 10 months ago
parent 6acbf90d80
commit 418579a627

@ -1,5 +1,6 @@
project('Pong', ['cpp', 'c'], version: '0.1')
add_global_arguments('-g', '-Wall', '-pedantic', '-Wno-unused-function', '-Wno-narrowing', language : ['cpp', 'c'])
add_global_arguments('-std=c++11', language: ['cpp'])
compiler = meson.get_compiler('cpp')
cmake = import('cmake')

Loading…
Cancel
Save