summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWerner Lemberg <wl@gnu.org>2022-01-30 20:50:42 +0100
committerWerner Lemberg <wl@gnu.org>2022-01-30 20:50:42 +0100
commit7fd03a3e2547eb28c38dbe5312d84c81af14e5b3 (patch)
treef190072b40d7da6a72548d03d9fdae80330743e4
parentda877c8693f7d0946b8c32634f1cdd82efe31315 (diff)
downloadfreetype2-7fd03a3e2547eb28c38dbe5312d84c81af14e5b3.tar.gz
* CMakeLists.txt: Include 'FindPkgConfig' module.
Older cmake versions don't provide `pkg_check_modules` by default. Fixes #1126.
-rw-r--r--CMakeLists.txt1
1 files changed, 1 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 4590309a0..8cb778396 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -122,6 +122,7 @@ 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