mirror of
https://gitlab.freedesktop.org/freetype/freetype.git
synced 2026-05-04 10:48:00 +02:00
CMakeLists.txt: Move inclusion of FindPkgConfig down.
It must come after `CMAKE_TOOLCHAIN_FILE`. Fixes #1167.
This commit is contained in:
parent
117df36b4c
commit
2db58e061e
1 changed files with 2 additions and 1 deletions
|
|
@ -121,7 +121,6 @@ endif ()
|
|||
|
||||
include(CheckIncludeFile)
|
||||
include(CMakeDependentOption)
|
||||
include(FindPkgConfig)
|
||||
|
||||
# CMAKE_TOOLCHAIN_FILE must be set before `project' is called, which
|
||||
# configures the base build environment and references the toolchain file
|
||||
|
|
@ -245,6 +244,8 @@ endif ()
|
|||
|
||||
|
||||
# Find dependencies
|
||||
include(FindPkgConfig)
|
||||
|
||||
if (NOT FT_DISABLE_HARFBUZZ)
|
||||
set(HARFBUZZ_MIN_VERSION "2.0.0")
|
||||
if (FT_REQUIRE_HARFBUZZ)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue