summaryrefslogtreecommitdiff
path: root/Build/source/libs/freetype2/freetype-src/builds/cmake/FindBrotliDec.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'Build/source/libs/freetype2/freetype-src/builds/cmake/FindBrotliDec.cmake')
-rw-r--r--Build/source/libs/freetype2/freetype-src/builds/cmake/FindBrotliDec.cmake7
1 files changed, 3 insertions, 4 deletions
diff --git a/Build/source/libs/freetype2/freetype-src/builds/cmake/FindBrotliDec.cmake b/Build/source/libs/freetype2/freetype-src/builds/cmake/FindBrotliDec.cmake
index 46356b1fd43..7c484c7dfe5 100644
--- a/Build/source/libs/freetype2/freetype-src/builds/cmake/FindBrotliDec.cmake
+++ b/Build/source/libs/freetype2/freetype-src/builds/cmake/FindBrotliDec.cmake
@@ -1,6 +1,6 @@
# FindBrotliDec.cmake
#
-# Copyright (C) 2019-2021 by
+# Copyright (C) 2019-2020 by
# David Turner, Robert Wilhelm, and Werner Lemberg.
#
# Written by Werner Lemberg <wl@gnu.org>
@@ -19,8 +19,7 @@
# BROTLIDEC_INCLUDE_DIRS
# BROTLIDEC_LIBRARIES
-find_package(PkgConfig QUIET)
-
+include(FindPkgConfig)
pkg_check_modules(PC_BROTLIDEC QUIET libbrotlidec)
if (PC_BROTLIDEC_VERSION)
@@ -42,7 +41,7 @@ find_library(BROTLIDEC_LIBRARIES
include(FindPackageHandleStandardArgs)
find_package_handle_standard_args(
- BrotliDec
+ brotlidec
REQUIRED_VARS BROTLIDEC_INCLUDE_DIRS BROTLIDEC_LIBRARIES
FOUND_VAR BROTLIDEC_FOUND
VERSION_VAR BROTLIDEC_VERSION)