Skip to content

Commit

Permalink
require in Luau.CLI.lib
Browse files Browse the repository at this point in the history
  • Loading branch information
aatxe committed Dec 17, 2024
1 parent a885998 commit 4d814f9
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
2 changes: 2 additions & 0 deletions Sources.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 4d814f9

Please sign in to comment.