Skip to content

OGRE_BUILD_COMPONENT_BULLET does not appear as an option when configuring Ogre in debug #3474

@valverl

Description

@valverl

System Information

  • Ogre Version: 14.4.1
  • Operating System / Platform: Windows 11
  • RenderSystem: N/A

Detailled description

My steps:

  1. Run cmake-gui, point source dir to Ogre sources, binaries dir to empty folder
  2. Add a CMAKE_BUILD_TYPE entry set to "Debug"
  3. Press "Configure"

This builds Bullet correctly (with _Debug postfix) but find_package(Bullet) fails to find it. I believe the root cause it that the FindBullet.cmake script shipped with CMAKE only sets Bullet_FOUND if it finds the release libraries (i.e. with no postfix).

I think this is basically the same issue as #2511. I've worked around it using the same approach, adding the following to the command to build Bullet in Dependencies.cmake:

-DCMAKE_DEBUG_POSTFIX=

I'll put up a PR with my workaround soon.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions