mirror of
https://github.com/luau-lang/luau.git
synced 2024-12-13 21:40:43 +00:00
Fix CMake configuration error when CLI targets are not included again (#1219)
A mistake was made in https://github.com/luau-lang/luau/pull/1218 Fixes https://github.com/luau-lang/luau/issues/1208
This commit is contained in:
parent
47ad768c69
commit
9649e5e446
1 changed files with 7 additions and 13 deletions
|
@ -358,19 +358,13 @@ target_sources(isocline PRIVATE
|
||||||
extern/isocline/src/isocline.c
|
extern/isocline/src/isocline.c
|
||||||
)
|
)
|
||||||
|
|
||||||
|
# Common sources shared between all CLI apps
|
||||||
if (TARGET Luau.Repl.CLI OR TARGET Luau.Analyze.CLI OR
|
|
||||||
TARGET Luau.Ast.CLI OR TARGET Luau.CLI.Test OR
|
|
||||||
TARGET Luau.Reduce.CLI OR TARGET Luau.Compile.CLI OR
|
|
||||||
TARGET Luau.Bytecode.CLI)
|
|
||||||
# Common sources shared between all CLI apps.
|
|
||||||
target_sources(Luau.CLI.lib PRIVATE
|
target_sources(Luau.CLI.lib PRIVATE
|
||||||
CLI/FileUtils.cpp
|
CLI/FileUtils.cpp
|
||||||
CLI/Flags.cpp
|
CLI/Flags.cpp
|
||||||
CLI/Flags.h
|
CLI/Flags.h
|
||||||
CLI/FileUtils.h
|
CLI/FileUtils.h
|
||||||
)
|
)
|
||||||
endif()
|
|
||||||
|
|
||||||
if(TARGET Luau.Repl.CLI)
|
if(TARGET Luau.Repl.CLI)
|
||||||
# Luau.Repl.CLI Sources
|
# Luau.Repl.CLI Sources
|
||||||
|
|
Loading…
Reference in a new issue