meson: add 'install' option

This is useful for people who want to use cglm as a meson subproject
without polluting the main project's install target.
This commit is contained in:
Andrei Alexeyev
2020-11-08 20:27:24 +02:00
parent 9da74f9654
commit 2a2d51624b
2 changed files with 16 additions and 14 deletions

View File

@@ -1 +1,2 @@
option('build_tests', type : 'boolean', value : false, description : 'Build tests')
option('build_tests', type : 'boolean', value : false, description : 'Build tests')
option('install', type : 'boolean', value : true, description : 'Include the library, headers, and pkg-config file in the install target')