fix macos build

This commit is contained in:
HJfod 2022-11-28 21:08:21 +02:00
parent 634fe303b2
commit b222879681
3 changed files with 4 additions and 1 deletions
.github/workflows
loader/src/platform/mac

View file

@ -73,6 +73,8 @@ jobs:
${{ matrix.config.extra_flags }}
-DGEODE_DISABLE_CLI_CALLS=ON
-DCLI_PATH="${{ github.workspace }}/cli"
-D CMAKE_C_COMPILER_LAUNCHER=ccache
-D CMAKE_CXX_COMPILER_LAUNCHER=ccache
- name: Build
run: |

View file

@ -1,4 +1,4 @@
#include "../crashlog.hpp"
#include <crashlog.hpp>
#ifdef GEODE_IS_MACOS

View file

@ -10,6 +10,7 @@ USE_GEODE_NAMESPACE();
#include <iostream>
#include <sstream>
#include <Geode/utils/web.hpp>
#include <Geode/utils/file.hpp>
bool utils::clipboard::write(std::string const& data) {
[[NSPasteboard generalPasteboard] clearContents];