Skip to content

Commit 4205de2

Browse files
committed
[commontk] cmake: Add 6.10 support (additional CorePrivate component)
1 parent 0f8486a commit 4205de2

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

CMakeLists.txt

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -143,6 +143,12 @@ if(BUILD_TESTING)
143143
endif()
144144
list(REMOVE_DUPLICATES qt_required_components)
145145

146+
if("${Qt${PythonQt_QT_VERSION}_VERSION}" VERSION_GREATER_EQUAL "6.10.0")
147+
list (APPEND qt_required_components
148+
CorePrivate
149+
)
150+
endif()
151+
146152
message(STATUS "${PROJECT_NAME}: Required Qt components [${qt_required_components}]")
147153
find_package(Qt${PythonQt_QT_VERSION} ${minimum_required_qt_version} COMPONENTS ${qt_required_components} REQUIRED)
148154

0 commit comments

Comments
 (0)