ref: 7fd03a3e2547eb28c38dbe5312d84c81af14e5b3
parent: da877c8693f7d0946b8c32634f1cdd82efe31315
author: Werner Lemberg <wl@gnu.org>
date: Sun Jan 30 15:50:42 EST 2022
* CMakeLists.txt: Include 'FindPkgConfig' module. Older cmake versions don't provide `pkg_check_modules` by default. Fixes #1126.
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -122,6 +122,7 @@
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