CMake: Fix lookup of qml plugins for external project examples
There was a typo in the original change, which caused none of the qml plugins in a prefix per-repo build being picked up. Amends 06fef6219e992489dae15e9851725e1675ff0bf6 Pick-to: 6.7 Task-number: QTBUG-90820 Task-number: QTBUG-96232 Change-Id: Ibf14d9e0cbb0302c69d32071f4ba090f24a5798d Reviewed-by: Alexey Edelev <alexey.edelev@qt.io> (cherry picked from commit 1ab33d575a6993ceb8d9482c20d5c7d6deb252ea) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
This commit is contained in:
parent
ed2f80b75d
commit
9775f52cd5
@ -345,7 +345,7 @@ function(qt_internal_add_example_external_project subdir)
|
||||
list(TRANSFORM glob_prefixes APPEND "/${INSTALL_LIBDIR}/cmake/${QT_CMAKE_EXPORT_NAMESPACE}Qml")
|
||||
|
||||
set(qml_plugin_cmake_config_file_glob_prefixes "")
|
||||
foreach(glob_prefix IN LISTS glob_prefix)
|
||||
foreach(glob_prefix IN LISTS glob_prefixes)
|
||||
if(EXISTS "${glob_prefix}")
|
||||
list(APPEND qml_plugin_cmake_config_file_glob_prefixes "${glob_prefix}")
|
||||
endif()
|
||||
|
Loading…
x
Reference in New Issue
Block a user