8170e9e85a
The previous attempt to record a dependency on the IntegrityPlatformGraphics target for the Gui target was insufficient. Aside from a qt_find_package(PROVIDED_TARGETS) call, we also need to use qt_internal_extend_target(Gui PRIVATE IntegrityPlatformGraphics) to ensure the dependency is written into the Qt6GuiDependencies.cmake file. Replace the target_link_libraries call with qt_internal_extend_target, and remove the qt_find_package all together. A qt_find_package call in src/gui/configure.cmake already exists, so the one in CMakeLists.txt is redundant and can be removed. Finally the qt_internal_extend_target(Gui PRIVATE IntegrityPlatformGraphics) call will also result in a target_link_libraries(Gui INTERFACE $<LINK_ONLY:IntegrityPlatformGraphics::IntegrityPlatformGraphics>) because Gui is a static library when building on Integrity, so the transitive requirement will still be passed along to user projects. Amends |
||
---|---|---|
.github/workflows | ||
bin | ||
cmake | ||
coin | ||
config.tests | ||
dist | ||
doc | ||
examples | ||
lib | ||
libexec | ||
LICENSES | ||
mkspecs | ||
qmake | ||
src | ||
tests | ||
util | ||
.cmake.conf | ||
.gitattributes | ||
.gitignore | ||
.lgtm.yml | ||
.tag | ||
CMakeLists.txt | ||
config_help.txt | ||
configure | ||
configure.bat | ||
configure.cmake | ||
dependencies.yaml | ||
qt_cmdline.cmake |