From 0bb0e87a33a9cacc41fb8270428ddda3207c3198 Mon Sep 17 00:00:00 2001 From: themancalledjakob Date: Thu, 16 Feb 2023 17:23:24 +0100 Subject: [PATCH] remove cmake created variables --- scripts/formulas/msdf-atlas-gen.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/scripts/formulas/msdf-atlas-gen.sh b/scripts/formulas/msdf-atlas-gen.sh index 36e37a2..d312935 100644 --- a/scripts/formulas/msdf-atlas-gen.sh +++ b/scripts/formulas/msdf-atlas-gen.sh @@ -156,6 +156,10 @@ function copy() { cp -r msdfgen $dest_include/ rm -rf $dest_include/msdfgen/cmake cp -r msdf-atlas-gen $dest_include/ + + # post + sed -i 's/MSDFGEN_PUBLIC //g' $dest_include/msdfgen/core/generator-config.h + sed -i 's/MSDF_ATLAS_PUBLIC //g' $dest_include/msdf-atlas-gen/Charset.h else echoWarning "TODO: $TYPE copy" fi