# SPDX-FileCopyrightText: 2006 Blender Authors
#
# SPDX-License-Identifier: GPL-2.0-or-later

add_definitions(-DBT_USE_DOUBLE_PRECISION)

set(INC
  .
)

set(INC_SYS
  ${BULLET_INCLUDE_DIRS}
)

set(SRC
  rb_bullet_api.cpp
  rb_convex_hull_api.cpp

  RBI_hull_api.h
  RBI_api.h
)

set(LIB
  ${BULLET_LIBRARIES}
)

blender_add_lib(bf_intern_rigidbody "${SRC}" "${INC}" "${INC_SYS}" "${LIB}")
