Skip to content

fix(cmake): handle no backend audio for cmake and add system libs - #37

Merged
AhmedSobhy01 merged 9 commits into
mainfrom
fix/cmake-audio-and-system-lib
Apr 18, 2026
Merged

fix(cmake): handle no backend audio for cmake and add system libs #37
AhmedSobhy01 merged 9 commits into
mainfrom
fix/cmake-audio-and-system-lib

Conversation

@AhmedAmrNabil

@AhmedAmrNabil AhmedAmrNabil commented Apr 18, 2026

Copy link
Copy Markdown
Owner

This pr introduces two things:

  1. Handle if there is no audio backend found for linux when building with OpenAL
  2. Fix running just run always remakes build config for cmake
  3. Add new options for building with system libs

USE_SYSTEM_OPENAL: use system package for Openal
USE_SYSTEM_ASSIMP: use system package for assimp // will be added after the model loader pr
USE_SYSTEM_BULLET: use system package for bullet3 physics
USE_SYSTEM_GLFW: use system package for glfw
USE_SYSTEM_LIBS: master swtich to enable all 4 options

if those options are specified and packages are not found, then it auto fallbacks to vendor libs

from your side there will be zero changes and build will go normally
but you can download the library package on linux and enable any of the options for much faster compilation speed

I want @AhmedSobhy01 or @LoayAhmed304 to test on windows just checkout the branch and just clean && just run on windows, I already tested all options on linux

@github-actions github-actions Bot added the build label Apr 18, 2026
@AhmedAmrNabil AhmedAmrNabil changed the title fix(cmake): handle no backend audio for cmake and add system libs 👷 fix(cmake): handle no backend audio for cmake and add system libs Apr 18, 2026
@LoayAhmed304 LoayAhmed304 changed the title 👷 fix(cmake): handle no backend audio for cmake and add system libs fix(cmake): handle no backend audio for cmake and add system libs Apr 18, 2026

@LoayAhmed304 LoayAhmed304 left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Works on Windows 👍

@AhmedSobhy01
AhmedSobhy01 force-pushed the fix/cmake-audio-and-system-lib branch from ae4099e to 916ed2a Compare April 18, 2026 18:14
@AhmedSobhy01
AhmedSobhy01 merged commit 172ca25 into main Apr 18, 2026
10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants