Skip to content

Commit

Permalink
test linux automated build
Browse files Browse the repository at this point in the history
  • Loading branch information
arthurmoreno committed Nov 20, 2024
1 parent 54238e1 commit bc7025c
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 1 deletion.
1 change: 0 additions & 1 deletion .github/workflows/cmake-multi-platform.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@ jobs:
sudo apt-get install -y \
build-essential \
cmake \
pkg-config \
libsdl2-dev \
libsdl2-image-dev \
libsdl2-ttf-dev
Expand Down
9 changes: 9 additions & 0 deletions cmake/Modules/FindSDL2_image.cmake
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
# FindSDL2_image.cmake

find_package(SDL2 REQUIRED)
find_package(PkgConfig REQUIRED)
pkg_check_modules(SDL2IMAGE REQUIRED SDL2_image)

set(SDL2_IMAGE_INCLUDE_DIRS ${SDL2IMAGE_INCLUDE_DIRS})
set(SDL2_IMAGE_LIBRARIES ${SDL2IMAGE_LIBRARIES})
set(SDL2_IMAGE_FOUND TRUE)
9 changes: 9 additions & 0 deletions cmake/Modules/FindSDL2_ttf.cmake
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
# FindSDL2_ttf.cmake

find_package(SDL2 REQUIRED)
find_package(PkgConfig REQUIRED)
pkg_check_modules(SDL2TTF REQUIRED SDL2_ttf)

set(SDL2_TTF_INCLUDE_DIRS ${SDL2TTF_INCLUDE_DIRS})
set(SDL2_TTF_LIBRARIES ${SDL2TTF_LIBRARIES})
set(SDL2_TTF_FOUND TRUE)

0 comments on commit bc7025c

Please sign in to comment.