Skip to content

Commit

Permalink
Force clean freetype build in favor of whatever got found in homebrew
Browse files Browse the repository at this point in the history
  • Loading branch information
brad-linden committed Aug 28, 2024
1 parent fb5a097 commit 496d968
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions build-cmd.sh
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,8 @@ pushd "build"
cmake "$top/$source_dir/capture" -G Ninja \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_OSX_DEPLOYMENT_TARGET=${MACOSX_DEPLOYMENT_TARGET} \
-DCMAKE_OSX_ARCHITECTURES="${MACOSX_ARCHITECTURES}"
-DCMAKE_OSX_ARCHITECTURES="${MACOSX_ARCHITECTURES}" \
-DDOWNLOAD_FREETYPE=ON

cmake --build . --config Release

Expand All @@ -104,7 +105,8 @@ pushd "build"
cmake "$top/$source_dir/csvexport" -G Ninja \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_OSX_DEPLOYMENT_TARGET=${MACOSX_DEPLOYMENT_TARGET} \
-DCMAKE_OSX_ARCHITECTURES="${MACOSX_ARCHITECTURES}"
-DCMAKE_OSX_ARCHITECTURES="${MACOSX_ARCHITECTURES}" \
-DDOWNLOAD_FREETYPE=ON
cmake --build . --config Release

cp -a tracy-csvexport $stage_dir/bin
Expand All @@ -115,7 +117,8 @@ pushd "build"
cmake "$top/$source_dir/profiler" -G Ninja \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_OSX_DEPLOYMENT_TARGET=${MACOSX_DEPLOYMENT_TARGET} \
-DCMAKE_OSX_ARCHITECTURES="${MACOSX_ARCHITECTURES}"
-DCMAKE_OSX_ARCHITECTURES="${MACOSX_ARCHITECTURES}" \
-DDOWNLOAD_FREETYPE=ON
cmake --build . --config Release

cp -a tracy-profiler $stage_dir/bin
Expand All @@ -126,7 +129,8 @@ pushd "build"
cmake "$top/$source_dir/update" -G Ninja \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_OSX_DEPLOYMENT_TARGET=${MACOSX_DEPLOYMENT_TARGET} \
-DCMAKE_OSX_ARCHITECTURES="${MACOSX_ARCHITECTURES}"
-DCMAKE_OSX_ARCHITECTURES="${MACOSX_ARCHITECTURES}" \
-DDOWNLOAD_FREETYPE=ON
cmake --build . --config Release

cp -a tracy-update $stage_dir/bin
Expand Down

0 comments on commit 496d968

Please sign in to comment.