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)