I hate Freetype
This commit is contained in:
parent
e891499a9f
commit
43b2fa53e7
@ -428,13 +428,16 @@ FIND_PACKAGE (Freetype REQUIRED)
|
|||||||
FIND_PACKAGE (OggVorbis REQUIRED)
|
FIND_PACKAGE (OggVorbis REQUIRED)
|
||||||
|
|
||||||
INCLUDE_DIRECTORIES (SYSTEM
|
INCLUDE_DIRECTORIES (SYSTEM
|
||||||
|
${FREETYPE_INCLUDE_DIRS}
|
||||||
${OGGVORBIS_INCLUDE_DIR}
|
${OGGVORBIS_INCLUDE_DIR}
|
||||||
)
|
)
|
||||||
|
|
||||||
IF (TARGET freetype AND NOT TARGET Freetype::Freetype)
|
IF (TARGET freetype AND NOT TARGET Freetype::Freetype)
|
||||||
add_library(Freetype::Freetype ALIAS freetype)
|
add_library(Freetype::Freetype ALIAS freetype)
|
||||||
|
MESSAGE(STATUS "Freetype target name is freetype")
|
||||||
ELSEIF (TARGET Freetype::Freetype AND NOT TARGET freetype)
|
ELSEIF (TARGET Freetype::Freetype AND NOT TARGET freetype)
|
||||||
add_library(freetype ALIAS Freetype::Freetype)
|
add_library(freetype ALIAS Freetype::Freetype)
|
||||||
|
MESSAGE(STATUS "Freetype target name is Freetype::Freetype")
|
||||||
ELSE ()
|
ELSE ()
|
||||||
MESSAGE (FATAL_ERROR "Could not find Freetype")
|
MESSAGE (FATAL_ERROR "Could not find Freetype")
|
||||||
ENDIF ()
|
ENDIF ()
|
||||||
|
Loading…
Reference in New Issue
Block a user