meson: don't build by default if used in a subproject

This commit is contained in:
Valeri
2023-12-02 01:44:54 +03:00
committed by GitHub
parent 1fdc1c8675
commit 0b2006dd47

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()
)