Skip to content

Commit

Permalink
SDK/CMake updates
Browse files Browse the repository at this point in the history
  • Loading branch information
Daft-Freak committed Feb 10, 2021
1 parent 0130ba3 commit f8cbddb
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/cmake.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
# - os: ubuntu-20.04
# name: Linux
# release-suffix: LIN64
# cmake-args: -D32BLIT_PATH=$GITHUB_WORKSPACE/32blit/
# cmake-args: -D32BLIT_DIR=$GITHUB_WORKSPACE/32blit/
# apt-packages: libsdl2-dev libsdl2-image-dev python3-setuptools

- os: ubuntu-20.04
Expand All @@ -40,7 +40,7 @@ jobs:
- name: Checkout 32blit
uses: actions/checkout@master
with:
repository: pimoroni/32blit-beta
repository: 32blit/32blit-sdk
path: 32blit

# Linux deps
Expand Down
5 changes: 2 additions & 3 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
cmake_minimum_required(VERSION 3.8.0)
cmake_minimum_required(VERSION 3.9.0)
project(doom)
set(32BLIT_PATH "../" CACHE PATH "Path to 32blit.cmake")

option(EMBED_ASSET_WAD "Embed a WAD at build time as an asset" OFF)

include(${32BLIT_PATH}/32blit.cmake)
find_package (32BLIT CONFIG REQUIRED PATHS ../32blit-sdk)

set(DOOM_SOURCES
src/chocdoom/dummy.c
Expand Down

0 comments on commit f8cbddb

Please sign in to comment.