diff options
author | Brad King <brad.king@kitware.com> | 2019-03-26 17:44:52 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2019-03-26 18:14:09 (GMT) |
commit | a3a1e69f8a8e6571bbb8c9257b401f04c22bd1e2 (patch) | |
tree | 85da4b56082686a8bfaea0c61fb855dc3197707c /Modules/FindX11.cmake | |
parent | bf02d625325535f485512eba307cff54c08bb257 (diff) | |
download | CMake-a3a1e69f8a8e6571bbb8c9257b401f04c22bd1e2.zip CMake-a3a1e69f8a8e6571bbb8c9257b401f04c22bd1e2.tar.gz CMake-a3a1e69f8a8e6571bbb8c9257b401f04c22bd1e2.tar.bz2 |
FindFontconfig: Convert module variables to camel case
Our documented standard for find module variable names is to match the
case of the find module package name. This was overlooked when the
module was added by commit 84e7920b3a (FindFontconfig: Add module to
find Fontconfig, 2018-09-27, v3.14.0-rc1~523^2).
The module was released with the upper case names in CMake 3.14.0, so
fix it to have camel case names in 3.14.1. This is incompatible but
anyone using a given release series should be using the latest patch on
it and we've made breaking fixups on newly released features like this
before.
Reported-by: Christophe Giboudeaux <christophe@krop.fr>
Fixes: #19094
Diffstat (limited to 'Modules/FindX11.cmake')
-rw-r--r-- | Modules/FindX11.cmake | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/FindX11.cmake b/Modules/FindX11.cmake index 46a7449..b28dd12 100644 --- a/Modules/FindX11.cmake +++ b/Modules/FindX11.cmake @@ -206,7 +206,7 @@ if (UNIX) if(X11_Xft_LIB AND X11_Xft_INCLUDE_PATH) find_package(Freetype QUIET) find_package(Fontconfig QUIET) - if (FREETYPE_FOUND AND FONTCONFIG_FOUND) + if (FREETYPE_FOUND AND Fontconfig_FOUND) set(X11_Xft_FOUND TRUE) endif () list(APPEND X11_INCLUDE_DIR ${X11_Xft_INCLUDE_PATH}) |