From 7fd03a3e2547eb28c38dbe5312d84c81af14e5b3 Mon Sep 17 00:00:00 2001 From: Werner Lemberg Date: Sun, 30 Jan 2022 20:50:42 +0100 Subject: [PATCH] * CMakeLists.txt: Include 'FindPkgConfig' module. Older cmake versions don't provide `pkg_check_modules` by default. Fixes #1126. --- CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) 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