require in Luau.CLI.lib

This commit is contained in:
Aaron Weiss 2024-12-17 11:41:33 -08:00
parent a885998948
commit 4d814f98fa
2 changed files with 3 additions and 1 deletions

View file

@ -69,7 +69,7 @@ target_include_directories(Luau.Common INTERFACE Common/include)
target_compile_features(Luau.CLI.lib PUBLIC cxx_std_17)
target_include_directories(Luau.CLI.lib PUBLIC CLI/include)
target_link_libraries(Luau.CLI.lib PRIVATE Luau.Common)
target_link_libraries(Luau.CLI.lib PRIVATE Luau.Common Luau.Config)
target_compile_features(Luau.Ast PUBLIC cxx_std_17)
target_include_directories(Luau.Ast PUBLIC Ast/include)

View file

@ -391,9 +391,11 @@ target_sources(isocline PRIVATE
target_sources(Luau.CLI.lib PRIVATE
CLI/include/Luau/FileUtils.h
CLI/include/Luau/Flags.h
CLI/include/Luau/Require.h
CLI/src/FileUtils.cpp
CLI/src/Flags.cpp
CLI/src/Require.cpp
)
if(TARGET Luau.Repl.CLI)