Merge pull request #360 from v1993/meson-header-only-subproject

meson: don't build by default if used in a subproject
This commit is contained in:
Recep Aslantas authored and GitHub committed 2023-12-02 15:49:24 +03:00
commit 049db64a0f
1 file changed
+1
+1
View File
@@ -95,6 +95,7 @@ cglm_dep = declare_dependency(
dependencies : cglm_deps,
compile_args : cglm_args,
include_directories : cglm_inc,
build_by_default: not meson.is_subproject(),
version : meson.project_version()
)