diff --git a/src/gui/CMakeLists.txt b/src/gui/CMakeLists.txt index b9c300f8bcc..4b7692e5170 100644 --- a/src/gui/CMakeLists.txt +++ b/src/gui/CMakeLists.txt @@ -336,10 +336,10 @@ if(QT_FEATURE_opengl) target_link_libraries(Gui PUBLIC GLESv2::GLESv2) if(INTEGRITY AND _qt_igy_gui_libs) - qt_find_package(IntegrityPlatformGraphics - PROVIDED_TARGETS IntegrityPlatformGraphics::IntegrityPlatformGraphics) - target_link_libraries(Gui - INTERFACE $) + qt_internal_extend_target(Gui + LIBRARIES + IntegrityPlatformGraphics::IntegrityPlatformGraphics + ) endif() elseif(NOT QT_FEATURE_opengl_dynamic)