Skip to content

Commit

Permalink
Merge pull request #360 from v1993/meson-header-only-subproject
Browse files Browse the repository at this point in the history
meson: don't build by default if used in a subproject
  • Loading branch information
recp authored Dec 2, 2023
2 parents 8754158 + e71694b commit 049db64
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions meson.build
Original file line number Diff line number Diff line change
Expand Up @@ -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()
)

Expand Down

0 comments on commit 049db64

Please sign in to comment.