From 57c2ed25571b5a54c52e508c57c1b20aa619a282 Mon Sep 17 00:00:00 2001 From: Grim Kriegor Date: Mon, 7 Feb 2022 01:13:14 +0000 Subject: [PATCH] [Buildsys] Do not require Bullet for the server --- CMakeLists.txt | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index 91c1bb961..0f42895b7 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -329,6 +329,11 @@ if (WIN32) add_definitions(-DNOMINMAX -DWIN32_LEAN_AND_MEAN) endif() +# Start of tes3mp addition +# +# Don't require certain dependencies for the server +IF(BUILD_OPENMW OR BUILD_OPENCS) +# End of tes3mp addition if(OPENMW_USE_SYSTEM_BULLET) set(REQUIRED_BULLET_VERSION 286) # Bullet 286 required due to runtime bugfixes for btCapsuleShape if (DEFINED ENV{TRAVIS_BRANCH} OR DEFINED ENV{APPVEYOR}) @@ -361,6 +366,11 @@ if(OPENMW_USE_SYSTEM_BULLET) message(FATAL_ERROR "Bullet does not uses double precision") endif() endif() +# Start of tes3mp addition +# +# Don't require certain dependencies for the server +ENDIF(BUILD_OPENMW OR BUILD_OPENCS) +# End of tes3mp addition if (NOT WIN32 AND BUILD_WIZARD) # windows users can just run the morrowind installer find_package(LIBUNSHIELD REQUIRED) # required only for non win32 when building openmw-wizard