Add the missing check of IntegrityPlatformGraphics_REQUIRED_LIBRARIES

This will allow merging the updated toolchain, otherwise qt5 fails
to find OpenGL and friends. The whole block will be removed once the
toolchain file is merged.

Pick-to: 6.8
Task-number: QTBUG-128455
Change-Id: If355b1c6360dba7b3567023430785c6d109f9fe8
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
This commit is contained in:
Alexey Edelev 2024-09-24 01:16:08 +02:00
parent 9f539ab9c1
commit c0b9dc0014

View File

@ -7,7 +7,9 @@
# Temporary fall back to allow integrating this pachset without the
# toolchain file updated.
set(IntegrityPlatformGraphics_REQUIRED_LIBRARIES ${_qt_igy_gui_libs})
if(NOT IntegrityPlatformGraphics_REQUIRED_LIBRARIES)
set(IntegrityPlatformGraphics_REQUIRED_LIBRARIES ${_qt_igy_gui_libs})
endif()
find_package_handle_standard_args(IntegrityPlatformGraphics
FOUND_VAR