Skip to content

Fix CMake configuration when tests are disabled on MSVC - #2980

Merged
tommyscholly merged 1 commit into
luau-lang:masterfrom
lumen-oss:mj/push-toxkswlslmpy
Sep 23, 2026
Merged

tommyscholly merged 1 commit into
luau-lang:masterfrom
lumen-oss:mj/push-toxkswlslmpy

Conversation

@mrcjkb

@mrcjkb mrcjkb commented Sep 22, 2026

Copy link
Copy Markdown
Contributor

Hey 👋

I tried building Luau with tests disabled (-DLUAU_BUILD_TESTS=OFF) on a GH actions Windows/MSVC runner and it failed with set_target_properties Can not find target to add properties to: Luau.UnitTest.

Solution: Move the Luau.UnitTest stack-size property into the if(MSVC AND LUAU_BUILD_TESTS) block.

@mrcjkb
mrcjkb requested a review from a team as a code owner September 22, 2026 23:01
@mrcjkb
mrcjkb requested a review from tommyscholly September 22, 2026 23:01

@tommyscholly tommyscholly 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.

Thanks for the contribution, seems like we placed that in the wrong spot :)

@tommyscholly
tommyscholly merged commit 94c4916 into luau-lang:master Sep 23, 2026
14 checks passed
@mrcjkb
mrcjkb deleted the mj/push-toxkswlslmpy branch September 23, 2026 17:59
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