From 2cd0a6ed3d322c61101d3f086e4da38cc70c7868 Mon Sep 17 00:00:00 2001 From: Lamakaio Date: Wed, 29 May 2024 15:53:03 +0200 Subject: [PATCH] add Jolt to CMakeLists --- 3rdparty/CMakeLists.txt | 2 ++ src/CMakeLists.txt | 3 ++- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/3rdparty/CMakeLists.txt b/3rdparty/CMakeLists.txt index 1d6f6911..421b6049 100644 --- a/3rdparty/CMakeLists.txt +++ b/3rdparty/CMakeLists.txt @@ -249,3 +249,5 @@ INSTALL(TARGETS freetype SET(RML_SKIP_INSTALL ON CACHE BOOL "" FORCE) SET(CUSTOM_CONFIGURATION ON CACHE BOOL "" FORCE) #ADD_SUBDIRECTORY(RmlUi EXCLUDE_FROM_ALL) + +ADD_SUBDIRECTORY(JoltPhysics/Build EXCLUDE_FROM_ALL) diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index c16b8226..71da1fd2 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -102,7 +102,8 @@ SET(OSP_MAGNUM_DEPS_LIBS dNewton dScene dModel dVehicle toml11 spdlog - longeron) + longeron + Jolt) target_link_libraries(osp-magnum-deps INTERFACE ${OSP_MAGNUM_DEPS_LIBS}) add_dependencies(compile-osp-magnum-deps ${OSP_MAGNUM_DEPS_LIBS})