mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-27 04:00:10 +01:00
meson: be explicit about the version required
This way, we know what we're allowed to use (no nested include lists for instance) and users get immediate feedback when trying to use unsupported versions, rather than a cryptic crash or things being silently not built correctly. Cc: Dylan Baker <dylan@pnwbakers.com> Signed-off-by: Eric Engestrom <eric.engestrom@imgtec.com> Reviewed-by: Dylan Baker <dylan@pnwbakers.com>
This commit is contained in:
parent
9e5a5a11ed
commit
7983adc60f
1 changed files with 8 additions and 2 deletions
10
meson.build
10
meson.build
|
|
@ -18,8 +18,14 @@
|
|||
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
||||
# SOFTWARE.
|
||||
|
||||
project('mesa', ['c', 'cpp'], version : '17.3.0-devel', license : 'MIT',
|
||||
default_options : ['c_std=c99', 'cpp_std=c++11'])
|
||||
project(
|
||||
'mesa',
|
||||
['c', 'cpp'],
|
||||
version : '17.3.0-devel',
|
||||
license : 'MIT',
|
||||
meson_version : '>= 0.42',
|
||||
default_options : ['c_std=c99', 'cpp_std=c++11']
|
||||
)
|
||||
|
||||
# Arguments for the preprocessor, put these in a separate array from the C and
|
||||
# C++ (cpp in meson terminology) arguments since they need to be added to the
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue