From fa26e0a6302df505dfd97b3ef0e0bf1795a01f59 Mon Sep 17 00:00:00 2001 From: Egor Orachev Date: Mon, 1 May 2023 17:18:58 +0300 Subject: [PATCH] gh-1: fix linux include --- .github/workflows/build.yml | 3 +++ engine/debug/profiler.hpp | 1 + 2 files changed, 4 insertions(+) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index c2538eca5..2f4a851bb 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -122,6 +122,9 @@ jobs: - name: Configure CMake x64 run: cmake . -G Ninja -B ${{ env.build_dir }} -DCMAKE_BUILD_TYPE=${{ env.config }} -DCMAKE_OSX_ARCHITECTURES=x86_64 + env: + CXX: clang++ + CC: clang - name: Build library sources x64 run: cmake --build ${{ env.build_dir }} \ No newline at end of file diff --git a/engine/debug/profiler.hpp b/engine/debug/profiler.hpp index 7393d2e5c..15ccfde01 100644 --- a/engine/debug/profiler.hpp +++ b/engine/debug/profiler.hpp @@ -31,6 +31,7 @@ #include "core/string_id.hpp" #include "core/timer.hpp" +#include #include #include #include