mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-04-03 01:20:11 +00:00
Update bullet dependency to 2.86
This commit is contained in:
parent
35bb467c7a
commit
dfa43af818
@ -254,11 +254,16 @@ IF(BOOST_STATIC)
|
|||||||
set(Boost_USE_STATIC_LIBS ON)
|
set(Boost_USE_STATIC_LIBS ON)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
|
set(REQUIRED_BULLET_VERSION 286) # Bullet 286 required due to runtime bugfixes for btCapsuleShape
|
||||||
|
if (DEFINED ENV{TRAVIS_BRANCH})
|
||||||
|
set(REQUIRED_BULLET_VERSION 283) # but for build testing, 283 is fine
|
||||||
|
endif()
|
||||||
|
|
||||||
find_package(Boost REQUIRED COMPONENTS ${BOOST_COMPONENTS})
|
find_package(Boost REQUIRED COMPONENTS ${BOOST_COMPONENTS})
|
||||||
find_package(MyGUI 3.2.1 REQUIRED)
|
find_package(MyGUI 3.2.1 REQUIRED)
|
||||||
find_package(SDL2 REQUIRED)
|
find_package(SDL2 REQUIRED)
|
||||||
find_package(OpenAL REQUIRED)
|
find_package(OpenAL REQUIRED)
|
||||||
find_package(Bullet 283 REQUIRED COMPONENTS BulletCollision LinearMath)
|
find_package(Bullet ${REQUIRED_BULLET_VERSION} REQUIRED COMPONENTS BulletCollision LinearMath)
|
||||||
|
|
||||||
include_directories("."
|
include_directories("."
|
||||||
SYSTEM
|
SYSTEM
|
||||||
|
Loading…
x
Reference in New Issue
Block a user