From 491ee9de7e594008324f57a27bd6ca361ad8171e Mon Sep 17 00:00:00 2001 From: Cacodemon345 Date: Tue, 13 Jun 2023 00:59:48 +0600 Subject: [PATCH] cmake: Include freetype directory properly on FreeBSD (#3403) --- src/CMakeLists.txt | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 77de8aad9..3809ead73 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -109,6 +109,9 @@ endif() find_package(Freetype REQUIRED) include_directories(${FREETYPE_INCLUDE_DIRS}) +if(FREETYPE_INCLUDE_DIR_ft2build) + include_directories(${FREETYPE_INCLUDE_DIR_ft2build}) +endif() if(APPLE) # Freetype is dynamically loaded by the emulator, however, we link it # on macOS so it gets copied to the bundle by the installation process