summaryrefslogtreecommitdiff
path: root/indra/cmake/Lualibs.cmake
diff options
context:
space:
mode:
authorMnikolenko Productengine <mnikolenko@productengine.com>2024-01-26 16:49:19 +0200
committerMnikolenko Productengine <mnikolenko@productengine.com>2024-01-26 17:28:46 +0200
commit81e1963f57d3a8a189cc78beb9c6acee1b0e129b (patch)
tree8adadc46838c6a2e959d947b3e5b5ace13cf7864 /indra/cmake/Lualibs.cmake
parent6ffc1268b23d32c03e6bea5edeaeafb593bede0f (diff)
DRTVWR-589: update to start using Luau libs
Diffstat (limited to 'indra/cmake/Lualibs.cmake')
-rw-r--r--indra/cmake/Lualibs.cmake11
1 files changed, 6 insertions, 5 deletions
diff --git a/indra/cmake/Lualibs.cmake b/indra/cmake/Lualibs.cmake
index b6a7de41c6..2832cc1fc9 100644
--- a/indra/cmake/Lualibs.cmake
+++ b/indra/cmake/Lualibs.cmake
@@ -8,15 +8,16 @@ add_library( ll::lualibs INTERFACE IMPORTED )
use_system_binary( lualibs )
-use_prebuilt_binary(lua)
+use_prebuilt_binary(luau)
target_include_directories( ll::lualibs SYSTEM INTERFACE
${LIBS_PREBUILT_DIR}/include
)
if (WINDOWS)
- target_link_libraries(ll::lualibs INTERFACE ${ARCH_PREBUILT_DIRS_RELEASE}/lua54.lib)
-elseif (DARWIN)
- target_link_libraries(ll::lualibs INTERFACE ${ARCH_PREBUILT_DIRS_RELEASE}/liblua.a)
-elseif (LINUX)
+ target_link_libraries(ll::lualibs INTERFACE ${ARCH_PREBUILT_DIRS_RELEASE}/Luau.Ast.lib)
+ target_link_libraries(ll::lualibs INTERFACE ${ARCH_PREBUILT_DIRS_RELEASE}/Luau.CodeGen.lib)
+ target_link_libraries(ll::lualibs INTERFACE ${ARCH_PREBUILT_DIRS_RELEASE}/Luau.Compiler.lib)
+ target_link_libraries(ll::lualibs INTERFACE ${ARCH_PREBUILT_DIRS_RELEASE}/Luau.Config.lib)
+ target_link_libraries(ll::lualibs INTERFACE ${ARCH_PREBUILT_DIRS_RELEASE}/Luau.VM.lib)
endif (WINDOWS)