Bullet3 provides CMake targets:

    find_package(Bullet CONFIG REQUIRED)
    target_link_libraries(main PRIVATE ${BULLET_LIBRARIES})
