mirror of
https://github.com/OpenMW/openmw.git
synced 2025-02-23 20:09:43 +00:00
Merge branch 'update-bullet' into 'master'
Update Bullet to improve performance See merge request OpenMW/openmw!627
This commit is contained in:
commit
f388de861d
1 changed files with 3 additions and 7 deletions
10
extern/CMakeLists.txt
vendored
10
extern/CMakeLists.txt
vendored
|
@ -31,15 +31,11 @@ if(NOT OPENMW_USE_SYSTEM_BULLET)
|
||||||
set(USE_DOUBLE_PRECISION ${BULLET_USE_DOUBLES} CACHE BOOL "")
|
set(USE_DOUBLE_PRECISION ${BULLET_USE_DOUBLES} CACHE BOOL "")
|
||||||
set(BULLET2_MULTITHREADING ON CACHE BOOL "")
|
set(BULLET2_MULTITHREADING ON CACHE BOOL "")
|
||||||
|
|
||||||
# Version 3.08 with the following changes:
|
# master on 12 Mar 2021
|
||||||
# 1. Fixes the linking of Threads:
|
|
||||||
# https://github.com/bulletphysics/bullet3/pull/3237
|
|
||||||
# 2. Removes ~300 MiB of files not used here:
|
|
||||||
# rm -rf build3 data docs examples test Doxyfile
|
|
||||||
include(FetchContent)
|
include(FetchContent)
|
||||||
FetchContent_Declare(bullet
|
FetchContent_Declare(bullet
|
||||||
URL https://github.com/glebm/bullet3/archive/ed5256454f4f84bd2c1728c88ddb0405d614e7d2.zip
|
URL https://github.com/bulletphysics/bullet3/archive/87e668f6b2a883b4ef63db8a07c8e9283916e9d9.zip
|
||||||
URL_HASH MD5=e3c94fac35a7be885ad8843f828a0f96
|
URL_HASH MD5=9f13246439968494c2b595cf412d83c8
|
||||||
SOURCE_DIR fetched/bullet
|
SOURCE_DIR fetched/bullet
|
||||||
)
|
)
|
||||||
FetchContent_MakeAvailableExcludeFromAll(bullet)
|
FetchContent_MakeAvailableExcludeFromAll(bullet)
|
||||||
|
|
Loading…
Reference in a new issue