diff options
author | Kae <80987908+Novaenia@users.noreply.github.com> | 2024-02-20 17:44:53 +1100 |
---|---|---|
committer | Kae <80987908+Novaenia@users.noreply.github.com> | 2024-02-20 17:44:53 +1100 |
commit | 43b2fa53e7a6ba8bc220306fbe9bbda00076a520 (patch) | |
tree | d3d5500a80c778824b1c85a1432ff957e1c68123 /source/CMakeLists.txt | |
parent | e891499a9f568d26747ae227583c924d06ddd47f (diff) |
I hate Freetype
Diffstat (limited to 'source/CMakeLists.txt')
-rw-r--r-- | source/CMakeLists.txt | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/source/CMakeLists.txt b/source/CMakeLists.txt index cdc1ea6..88a886f 100644 --- a/source/CMakeLists.txt +++ b/source/CMakeLists.txt @@ -428,13 +428,16 @@ FIND_PACKAGE (Freetype REQUIRED) FIND_PACKAGE (OggVorbis REQUIRED) INCLUDE_DIRECTORIES (SYSTEM + ${FREETYPE_INCLUDE_DIRS} ${OGGVORBIS_INCLUDE_DIR} ) IF (TARGET freetype AND NOT TARGET Freetype::Freetype) add_library(Freetype::Freetype ALIAS freetype) + MESSAGE(STATUS "Freetype target name is freetype") ELSEIF (TARGET Freetype::Freetype AND NOT TARGET freetype) add_library(freetype ALIAS Freetype::Freetype) + MESSAGE(STATUS "Freetype target name is Freetype::Freetype") ELSE () MESSAGE (FATAL_ERROR "Could not find Freetype") ENDIF () |