Skip to content

cmake: Use CMAKE_CURRENT_SOURCE_DIR to allow lute to build against slua - #113

Merged
HaroldCindy merged 2 commits into
secondlife:mainfrom
tapple:lute-build-fixes
Nov 13, 2026
Merged

HaroldCindy merged 2 commits into
secondlife:mainfrom
tapple:lute-build-fixes

Conversation

@tapple

@tapple tapple commented Nov 10, 2026 •

Copy link
Copy Markdown
Contributor

Small edit to cmake build system that allows slua to be built into lute

SLua still builds properly, but now it also builds as a subdirectory in lute

It fixes a misconfiguration in the cmake files; they should be loading files from the current build dir, not the root one. They are the same for standalone slua builds, but different when embedded in the lute build system. Upstream, Luau also uses the _CURRENT_ variant of these variables, rather than the root one, presumably also so it builds against lute

@HaroldCindy HaroldCindy left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Seems broadly reasonable to me, thanks! Just a couple fixups needed, the web failure is unrelated and probably due to an SDK upgrade.

For future ref, you needn't (and shouldn't) include LLM-generated prose in issues or PRs. I trust your judgment and I'd much prefer a terse human-written issue description than read LLM output.

Comment thread CMakeLists.txt Resolved
Comment thread CMakeLists.txt Resolved
@tapple

tapple commented Nov 11, 2026

Copy link
Copy Markdown
Contributor Author

added the additional find/replace changes, and replaced the AI prose with my own

@HaroldCindy
HaroldCindy merged commit cadca82 into secondlife:main Nov 13, 2026
6 of 8 checks passed
@HaroldCindy

Copy link
Copy Markdown
Contributor

LGTM, thanks!

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