fix some cmake

This commit is contained in:
floralrainfall 2023-07-08 12:58:11 -04:00
parent ccaf652d46
commit db93ec782f
3 changed files with 6 additions and 10 deletions

View File

@ -7,8 +7,8 @@ set(CMAKE_CXX_STANDARD 23)
include(CMake/CreateResources.cmake)
option(COMPILE_PLAYER "Compile the RNR player" ON)
option(COMPILE_PLAYER "Compile the RNR studio" ON)
option(COMPILE_PLAYER "Compile the RNR server" ON)
option(COMPILE_STUDIO "Compile the RNR studio" ON)
option(COMPILE_SERVER "Compile the RNR server" ON)
set(DEPENDENCIES_DIR ${CMAKE_SOURCE_DIR}/Dependencies)

View File

@ -1,10 +1,6 @@
include_directories(Engine/Header)
add_subdirectory(${DEPENDENCIES_DIR}/Luau Build)
add_subdirectory(Engine)
add_subdirectory(Client)
add_subdirectory(${DEPENDENCIES_DIR}/Luau Build)
target_link_libraries(Engine Luau.Analysis)
target_link_libraries(Engine Luau.Ast)
target_link_libraries(Engine Luau.Compiler)
target_link_libraries(Engine Luau.VM)

View File

@ -1,6 +1,6 @@
project(Engine)
add_library(engine STATIC
add_library(Engine STATIC
Header/Helpers/Name.hpp
Header/Helpers/Strings.hpp
Header/App/V8/DataModel/ForceField.hpp
@ -18,4 +18,4 @@ add_library(engine STATIC
Source/Rendering/Adorn.cpp
)
target_link_libraries(Engine PUBLIC ${BOOST_LIBRARIES} cglm)
target_link_libraries(Engine PUBLIC ${BOOST_LIBRARIES} cglm Luau.Analysis Luau.Ast Luau.Compiler Luau.VM)