From aa629172b3b27a7a55aea4a20c42fee7ad948335 Mon Sep 17 00:00:00 2001 From: henrykorir Date: Wed, 22 May 2024 17:53:20 +0300 Subject: [PATCH] fix yml and cmake command --- .github/workflows/cmake-multi-platform.yml | 3 +++ CMakeLists.txt | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/cmake-multi-platform.yml b/.github/workflows/cmake-multi-platform.yml index f21a025..8158b33 100644 --- a/.github/workflows/cmake-multi-platform.yml +++ b/.github/workflows/cmake-multi-platform.yml @@ -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 diff --git a/CMakeLists.txt b/CMakeLists.txt index c96d1a1..86dbd9f 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -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(