From ed2df46949683d3bc798cb11bd45f2ce5025deaf Mon Sep 17 00:00:00 2001 From: Stephen Kelly Date: Thu, 2 May 2013 15:35:54 +0200 Subject: [PATCH] Create a proper variable name in the cmake macro. Change-Id: I98145fb3149dd8f7aba60d305da98c148aa9c705 Reviewed-by: Volker Krause Reviewed-by: Stephen Kelly --- src/gui/Qt5GuiConfigExtras.cmake.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gui/Qt5GuiConfigExtras.cmake.in b/src/gui/Qt5GuiConfigExtras.cmake.in index f385fa0f6e..ff0c3543ce 100644 --- a/src/gui/Qt5GuiConfigExtras.cmake.in +++ b/src/gui/Qt5GuiConfigExtras.cmake.in @@ -62,7 +62,7 @@ unset(_qt5gui_OPENGL_INCLUDE_DIR CACHE) macro(_qt5gui_find_extra_libs Name Libs LibDir IncDirs) set(Qt5Gui_${Name}_LIBRARIES) - set(Qt5Gui_EGL_INCLUDE_DIRS ${IncDirs}) + set(Qt5Gui_${Name}_INCLUDE_DIRS ${IncDirs}) foreach(_lib ${Libs}) string(REGEX REPLACE "[^_A-Za-z0-9]" "_" _cmake_lib_name ${_lib}) if (NOT TARGET Qt5::Gui_${_cmake_lib_name})