mirror of
https://github.com/luau-lang/luau.git
synced 2025-08-26 03:17:04 +01:00
Fix the fuzzer being built even if LUAU_BUILD_TESTS is off (#1830)
This PR fixes the fuzzer always being built even when LUAU_BUILD_TESTS is off. This is done by moving the `include_subdirectory` for the fuzzer inside of the if block under LUAU_BUILD_TESTS.
This commit is contained in:
parent
55f3e00938
commit
31725a6521
1 changed files with 1 additions and 2 deletions
|
@ -266,6 +266,7 @@ if(LUAU_BUILD_TESTS)
|
|||
target_link_libraries(Luau.CLI.Test PRIVATE Luau.Compiler Luau.Config Luau.CodeGen Luau.VM Luau.Require Luau.CLI.lib isocline)
|
||||
target_link_libraries(Luau.CLI.Test PRIVATE osthreads)
|
||||
|
||||
add_subdirectory(fuzz)
|
||||
endif()
|
||||
|
||||
if(LUAU_BUILD_WEB)
|
||||
|
@ -282,8 +283,6 @@ if(LUAU_BUILD_WEB)
|
|||
target_link_options(Luau.Web PRIVATE -sSINGLE_FILE=1)
|
||||
endif()
|
||||
|
||||
add_subdirectory(fuzz)
|
||||
|
||||
# validate dependencies for internal libraries
|
||||
foreach(LIB Luau.Ast Luau.Compiler Luau.Config Luau.Analysis Luau.EqSat Luau.CodeGen Luau.VM)
|
||||
if(TARGET ${LIB})
|
||||
|
|
Loading…
Add table
Reference in a new issue