From 00c33f77d3e572f889b2b7c218234591aca311e7 Mon Sep 17 00:00:00 2001 From: Rodrigo Delduca Date: Mon, 16 Dec 2024 09:07:59 -0300 Subject: [PATCH] Work in progress --- .github/workflows/build.yaml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index 3aacad9..167920b 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -85,6 +85,11 @@ jobs: if: matrix.config.name == 'WebAssembly' run: conan install . --output-folder=build --build=missing --profile=webassembly --settings compiler.cppstd=20 --settings build_type=Release + - name: Sol2 Workaround for WebAssembly + if: matrix.config.name == 'WebAssembly' + run: | + sed -i 's/this->construct(/this->emplace(/g' /home/runner/.conan2/p/sol2*/p/include/sol/optional_implementation.hpp + - name: Configure run: cmake .. -DCMAKE_TOOLCHAIN_FILE="conan_toolchain.cmake" -DCMAKE_BUILD_TYPE=Release working-directory: build