OGRE_BUILD_COMPONENT_BULLET does not appear as an option when configuring Ogre in debug
envgap__OGRECave__ogre-3474
01 / FAILURE SIGNATURE
As reported upstream
No identifying execution failure has been captured.
Not a benchmark task.
- In a clean container the reported failure did not reproduce, or the known fix did not make the project run.
02 / ENVIRONMENT RECIPE
- Base commit
cca1be99b285b27d24dd57aab58794cbb9e39d65- Manifest
CMakeLists.txt- Reproduce
Awaiting issue-specific recipe- Run under trace
Awaiting a meaningful runtime command
03 / ORIGINAL ISSUE TEXT
OGRECave/ogre #3474 · read the original issue
#### 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](https://cmake.org/cmake/help/latest/module/FindBullet.html) 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 https://github.com/OGRECave/ogre/issues/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.
04 / LABELS
Labels from the report text only; not yet run
No supported category has been assigned.
Label rules and the text that matched
[]