Skip to content

Commit

Permalink
fix yml and cmake command
Browse files Browse the repository at this point in the history
  • Loading branch information
henrykorir committed May 22, 2024
1 parent e17520f commit aa62917
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions .github/workflows/cmake-multi-platform.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,9 @@ jobs:
run: |
echo "build-output-dir=${{ github.workspace }}/build" >> "$GITHUB_OUTPUT"
- name: Install GTK
run: sudo apt-get install libwxgtk2.8-dev libwxgtk2.8-dbg

- name: Configure CMake
# Configure CMake in a 'build' subdirectory. `CMAKE_BUILD_TYPE` is only required if you are using a single-configuration generator such as make.
# See https://cmake.org/cmake/help/latest/variable/CMAKE_BUILD_TYPE.html?highlight=cmake_build_type
Expand Down
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ cmake_minimum_required(VERSION 3.5)
project(wxMinesweeper LANGUAGES CXX)
find_package(wxWidgets)
if(NOT wxWidgets_FOUND)
execute_process(COMMAND sudo apt-get install libwxgtk2.8-dev libwxgtk2.8-dbg)
# execute_process(COMMAND sudo apt-get install libwxgtk2.8-dev libwxgtk2.8-dbg)
# execute_process(COMMAND apt install libwxgtk2.8-dbg)
include(ExternalProject)
ExternalProject_Add(
Expand Down

0 comments on commit aa62917

Please sign in to comment.