* CMakeLists.txt: Include 'FindPkgConfig' module.

Older cmake versions don't provide `pkg_check_modules` by default.

Fixes #1126.
This commit is contained in:
Werner Lemberg 2022-01-30 20:50:42 +01:00
parent da877c8693
commit 7fd03a3e25
1 changed files with 1 additions and 0 deletions

View File

@ -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