diff --git a/.github/workflows/cmake-multi-platform.yml b/.github/workflows/cmake-multi-platform.yml index 5359ac7..65a7033 100644 --- a/.github/workflows/cmake-multi-platform.yml +++ b/.github/workflows/cmake-multi-platform.yml @@ -12,6 +12,8 @@ jobs: build: runs-on: ${{ matrix.os }} + permissions: write-all + strategy: # Set fail-fast to false to ensure that feedback is delivered for all matrix combinations. Consider changing this to true when your workflow is stable. fail-fast: false @@ -58,7 +60,7 @@ jobs: # this is for build testing only, not shipping binaries, so don't bother verifying the key if: ${{matrix.os == 'ubuntu-latest'}} run: | - sudo apt-get install -y cmake build-essential libgtk2.0-dev libgtk-3-dev + sudo apt-get install -y build-essential libgtk2.0-dev libgtk-3-dev - 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. diff --git a/CMakeLists.txt b/CMakeLists.txt index 0b7fbe2..919734d 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -9,9 +9,9 @@ ExternalProject_Add(wxwidgets STEP_TARGETS build ) aux_source_directory(. SRC_LIST) -#find_package(wxWidgets REQUIRED COMPONENTS net core base) -#if(wxWidgets_USE_FILE) # not defined in CONFIG mode -# include(${wxWidgets_USE_FILE}) -#endif() +find_package(wxWidgets REQUIRED COMPONENTS net core base) +if(wxWidgets_USE_FILE) # not defined in CONFIG mode + include(${wxWidgets_USE_FILE}) +endif() add_executable(${PROJECT_NAME} ${SRC_LIST}) target_link_libraries(${PROJECT_NAME} ${wxWidgets_LIBRARIES}) \ No newline at end of file