From 0a2f688baeb096698d1b875a9b9f8ab5d39d6419 Mon Sep 17 00:00:00 2001 From: themancalledjakob Date: Thu, 16 Mar 2023 12:42:54 +0100 Subject: [PATCH] update formula for pthreads --- scripts/formulas/msdf-atlas-gen.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/scripts/formulas/msdf-atlas-gen.sh b/scripts/formulas/msdf-atlas-gen.sh index bc6b99d..d0bc9bd 100644 --- a/scripts/formulas/msdf-atlas-gen.sh +++ b/scripts/formulas/msdf-atlas-gen.sh @@ -114,6 +114,7 @@ function build() { elif [ "$TYPE" == "emscripten" ] ; then cd lib/$TYPE emcmake cmake \ + -DCMAKE_CXX_FLAGS="-pthread" \ -DMSDF_ATLAS_BUILD_STANDALONE=OFF \ -DMSDF_ATLAS_USE_VCPKG=OFF \ -DMSDF_ATLAS_USE_SKIA=OFF \