Skip to content

fix(build): fix EMBEDPLUGINS=0, make many build options env-override#5272

Open
lgritz wants to merge 1 commit into
AcademySoftwareFoundation:mainfrom
lgritz:lg-embedplugins
Open

fix(build): fix EMBEDPLUGINS=0, make many build options env-override#5272
lgritz wants to merge 1 commit into
AcademySoftwareFoundation:mainfrom
lgritz:lg-embedplugins

Conversation

@lgritz

@lgritz lgritz commented Jun 28, 2026

Copy link
Copy Markdown
Collaborator

Change several build-time options from option() to our set_option(), which mostly has the effect of allowing them to be overridden by environment variables of the same name, which is really handy for CI variants.

In the process, realized that we had some real problems with handling of EMBEDPLUGINS=0, it probably hasn't worked properly for years and went unnoticed because the one CI job variant that was trying to test EMBEDPLUGINS=0 actually was not because it was trying to do it by setting the environment variable, unaware that it could not be used to set the option until this patch. So there is a bit of cmake and linkage fixing that needed to be done to get it squared away.

Assisted-by: Claude Code / opus-4.8

Change several build-time options from `option()` to our
`set_option()`, which mostly has the effect of allowing them to be
overridden by environment variables of the same name, which is really
handy for CI variants.

In the process, realized that we had some real problems with handling
of EMBEDPLUGINS=0, it probably hasn't worked properly for years and
went unnoticed because the one CI job variant that was trying to test
EMBEDPLUGINS=0 actually *was not* because it was trying to do it by
setting the environment variable, unaware that it could not be used to
set the option until this patch. So there is a bit of cmake and
linkage fixing that needed to be done to get it squared away.

Assisted-by: Claude Code / opus-4.8

Signed-off-by: Larry Gritz <lg@larrygritz.com>
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.

1 participant