mirror of
https://github.com/OpenMW/openmw.git
synced 2025-01-21 07:53:53 +00:00
Merge pull request #2885 from elsid/fix_tests_build
Fix tests build with BULLET_USE_DOUBLES=ON
This commit is contained in:
commit
8cd34dbe15
2 changed files with 1 additions and 5 deletions
|
@ -15,10 +15,6 @@ set(GAME_HEADER
|
|||
engine.hpp
|
||||
)
|
||||
|
||||
if (BULLET_USE_DOUBLES)
|
||||
add_definitions(-DBT_USE_DOUBLE_PRECISION)
|
||||
endif()
|
||||
|
||||
source_group(game FILES ${GAME} ${GAME_HEADER})
|
||||
|
||||
add_openmw_dir (mwrender
|
||||
|
|
|
@ -287,5 +287,5 @@ endif()
|
|||
set(COMPONENT_FILES ${COMPONENT_FILES} PARENT_SCOPE)
|
||||
|
||||
if (BULLET_USE_DOUBLES)
|
||||
add_definitions(-DBT_USE_DOUBLE_PRECISION)
|
||||
target_compile_definitions(components PUBLIC BT_USE_DOUBLE_PRECISION)
|
||||
endif()
|
||||
|
|
Loading…
Reference in a new issue