cmake: Include freetype directory properly on FreeBSD (#3403)
This commit is contained in:
@@ -109,6 +109,9 @@ endif()
|
|||||||
|
|
||||||
find_package(Freetype REQUIRED)
|
find_package(Freetype REQUIRED)
|
||||||
include_directories(${FREETYPE_INCLUDE_DIRS})
|
include_directories(${FREETYPE_INCLUDE_DIRS})
|
||||||
|
if(FREETYPE_INCLUDE_DIR_ft2build)
|
||||||
|
include_directories(${FREETYPE_INCLUDE_DIR_ft2build})
|
||||||
|
endif()
|
||||||
if(APPLE)
|
if(APPLE)
|
||||||
# Freetype is dynamically loaded by the emulator, however, we link it
|
# Freetype is dynamically loaded by the emulator, however, we link it
|
||||||
# on macOS so it gets copied to the bundle by the installation process
|
# on macOS so it gets copied to the bundle by the installation process
|
||||||
|
Reference in New Issue
Block a user