From 4d814f98fa33e30d416b64b8dcf767935d074c06 Mon Sep 17 00:00:00 2001 From: Aaron Weiss Date: Tue, 17 Dec 2024 11:41:33 -0800 Subject: [PATCH] require in Luau.CLI.lib --- CMakeLists.txt | 2 +- Sources.cmake | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 51f29e4f6..5286fd9f0 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -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) diff --git a/Sources.cmake b/Sources.cmake index ae1223154..e875da434 100644 --- a/Sources.cmake +++ b/Sources.cmake @@ -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)