From 1eaf1654cd58b5e0660cb769d8b4bc0f773078e9 Mon Sep 17 00:00:00 2001 From: Sam Edwards Date: Tue, 7 Jan 2020 10:29:05 -0700 Subject: [PATCH] CMake: Don't build egg-mkfont without Freetype --- pandatool/src/egg-mkfont/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pandatool/src/egg-mkfont/CMakeLists.txt b/pandatool/src/egg-mkfont/CMakeLists.txt index d453b3a5f4..8b548e2e91 100644 --- a/pandatool/src/egg-mkfont/CMakeLists.txt +++ b/pandatool/src/egg-mkfont/CMakeLists.txt @@ -1,4 +1,4 @@ -if(NOT HAVE_EGG) +if(NOT HAVE_EGG OR NOT HAVE_FREETYPE) return() endif()