Skip to content

build: Add options to override subproject paths#1846

Open
K1ngst0m wants to merge 1 commit into
ValveSoftware:masterfrom
K1ngst0m:dev/custom_dependency_path
Open

build: Add options to override subproject paths#1846
K1ngst0m wants to merge 1 commit into
ValveSoftware:masterfrom
K1ngst0m:dev/custom_dependency_path

Conversation

@K1ngst0m
Copy link
Copy Markdown

The PR adds two Meson string options for developers—such as distro packagers—who often have up-to-date or patched libraries installed system-wide or in custom paths:

-Dglm_include_dir=…
-Dstb_include_dir=…

If either option is non-empty, Meson will use the specified include path; otherwise, it falls back to the wrapped subproject setup.

Usage example

meson setup builddir \
  -Dglm_include_dir=/path/to/include/glm \
  -Dstb_include_dir=/path/to/include/stb \

this allows downstream builds to specify custom GLM and stb header paths.
Copy link
Copy Markdown

@K900 K900 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks, this will work great for our purposes.

@K900
Copy link
Copy Markdown

K900 commented Jun 9, 2025

@misyltoad bump? (sorry...)

@K900

This comment was marked as duplicate.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants