Skip to content

Commit

Permalink
gh-1: add openal deps on linux
Browse files Browse the repository at this point in the history
  • Loading branch information
EgorOrachyov committed May 1, 2023
1 parent 9a35fba commit 2a9d762
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 13 deletions.
10 changes: 10 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,11 @@ jobs:

- uses: seanmiddleditch/gha-setup-ninja@master

- name: update apt
shell: bash
run: |
sudo apt update
- name: install glfw dependencies
shell: bash
run: |
Expand All @@ -73,6 +78,11 @@ jobs:
sudo apt-get install -y libxmu-dev libxi-dev libgl-dev libglx-dev
sudo apt-get install -y libx11-dev
- name: install openal dependencies
shell: bash
run: |
sudo apt-get install -y libpulse-dev portaudio19-dev libasound2-dev libjack-dev libpipewire-0.3-dev qtbase5-dev libdbus-1-dev
- name: install Vulkan SDK
uses: humbletim/[email protected]
with:
Expand Down
7 changes: 1 addition & 6 deletions games/flappyowl/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,7 +1,2 @@
set(FLAPPYOWL_APP_ICON_RESOURCE)

if (TARGET_WINDOWS)
set(FLAPPYOWL_APP_ICON_RESOURCE "${CMAKE_CURRENT_SOURCE_DIR}/owl.rc")
endif ()

set(FLAPPYOWL_APP_ICON_RESOURCE "${CMAKE_CURRENT_SOURCE_DIR}/owl.rc")
wmoge_game(flappyowl main.cpp ${FLAPPYOWL_APP_ICON_RESOURCE})
8 changes: 1 addition & 7 deletions template/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,9 +1,3 @@
set(GAME_NAME template)

set(GAME_APP_ICON_RESOURCE)

if (TARGET_WINDOWS)
set(GAME_APP_ICON_RESOURCE "${CMAKE_CURRENT_SOURCE_DIR}/wmoge.rc")
endif ()

set(GAME_APP_ICON_RESOURCE "${CMAKE_CURRENT_SOURCE_DIR}/wmoge.rc")
wmoge_game(${GAME_NAME} main.cpp ${GAME_APP_ICON_RESOURCE})

0 comments on commit 2a9d762

Please sign in to comment.