Create a proper variable name in the cmake macro.
Change-Id: I98145fb3149dd8f7aba60d305da98c148aa9c705 Reviewed-by: Volker Krause <volker.krause@kdab.com> Reviewed-by: Stephen Kelly <stephen.kelly@kdab.com>
This commit is contained in:
parent
66ff3f7fa4
commit
ed2df46949
@ -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})
|
||||
|
Loading…
Reference in New Issue
Block a user