Skip to content

Commit

Permalink
CMake: Fix build with CMake 3.16 on Windows
Browse files Browse the repository at this point in the history
We cannot link Qt::Core against interface libraries with CMake < 3.18.
See the linked task for details.

This link dependency is not necessary. Remove it.

Pick-to: 6.5 6.7 6.8
Task-number: QTBUG-111760
Change-Id: Ib72cb24ae3cc3f57659d40cc07e862802d0b2c59
Reviewed-by: Topi Reiniö <topi.reinio@qt.io>
Reviewed-by:  Alexey Edelev <alexey.edelev@qt.io>
  • Loading branch information
jobor committed Sep 6, 2024
1 parent e9d60c2 commit 58e615e
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/doc/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
add_library(QtQuickEffectMakerDoc INTERFACE)
target_link_libraries(QtQuickEffectMakerDoc INTERFACE Qt::Core)

qt_internal_add_docs(QtQuickEffectMakerDoc
qtquickeffectmaker.qdocconf
)

0 comments on commit 58e615e

Please sign in to comment.