System Information
- Ogre Version: 14.4.1
 
- Operating System / Platform: Windows 11
 
- RenderSystem: N/A
 
Detailled description
My steps:
- Run cmake-gui, point source dir to Ogre sources, binaries dir to empty folder
 
- Add a CMAKE_BUILD_TYPE entry set to "Debug"
 
- 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.