# SDL\_ttf: Fix missing option that causes PlutoSVG examples to be added to the build system (#525) (a809e)

**URL:** <https://discourse.libsdl.org/t/sdl-ttf-fix-missing-option-that-causes-plutosvg-examples-to-be-added-to-the-build-system-525-a809e/58730>\
**Category:** SDL Commits\
**Created:** [March 22, 2025, 12:14am UTC](https://discourse.libsdl.org/t/sdl-ttf-fix-missing-option-that-causes-plutosvg-examples-to-be-added-to-the-build-system-525-a809e/58730 "2025-03-22T00:14:27Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![SDLPushPostBot](https://discourse.libsdl.org/user_avatar/discourse.libsdl.org/sdlpushpostbot/32/4370_2.png) [@SDLPushPostBot](https://discourse.libsdl.org/u/SDLPushPostBot)\
**Post date:** [March 22, 2025, 12:14am UTC](https://discourse.libsdl.org/t/sdl-ttf-fix-missing-option-that-causes-plutosvg-examples-to-be-added-to-the-build-system-525-a809e/58730/1 "2025-03-22T00:14:27Z")

</div>

> <https://github.com/libsdl-org/SDL_ttf/commit/a809e8ff9d8de2f10093136bf66ca20aa3b4a5e7>
>
> (cherry picked from commit d72437c15c76267f613eec1c01ffd1c34e4cc91c)

```diff
From a809e8ff9d8de2f10093136bf66ca20aa3b4a5e7 Mon Sep 17 00:00:00 2001
From: Ravbug <[EMAIL REDACTED]>
Date: Sun, 9 Mar 2025 15:25:11 -0700
Subject: [PATCH] Fix missing option that causes PlutoSVG examples to be added
 to the build system (#525)

(cherry picked from commit d72437c15c76267f613eec1c01ffd1c34e4cc91c)
---
 CMakeLists.txt | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/CMakeLists.txt b/CMakeLists.txt
index 2688f4ad..19bbee1f 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -374,7 +374,8 @@ if(SDLTTF_PLUTOSVG)
         message(STATUS "${PROJECT_NAME}: Using vendored plutosvg library")
         set(BUILD_SHARED_LIBS OFF)
         set(PLUTOSVG_ENABLE_FREETYPE ON CACHE BOOL "plutosvg enable freetype" FORCE)
- set(PLUTOVG_BUILD_EXAMPLES OFF CACHE BOOL "plutosvg build examples" FORCE)
+ set(PLUTOSVG_BUILD_EXAMPLES OFF CACHE BOOL "plutosvg build examples" FORCE)
+ set(PLUTOVG_BUILD_EXAMPLES OFF CACHE BOOL "plutovg build examples" FORCE)
         sdl_check_project_in_subfolder(external/plutovg plutovg SDLTTF_VENDORED)
         add_subdirectory(external/plutovg EXCLUDE_FROM_ALL)
         sdl_check_project_in_subfolder(external/plutosvg plutosvg SDLTTF_VENDORED)

```
