Created
November 10, 2020 14:14
-
-
Save torarnv/f1ca7811a9ad9d32db255152471b1bcf to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git i/cmake/QtPostProcessHelpers.cmake w/cmake/QtPostProcessHelpers.cmake | |
index 52858af28c7..655739e80c1 100644 | |
--- i/cmake/QtPostProcessHelpers.cmake | |
+++ w/cmake/QtPostProcessHelpers.cmake | |
@@ -129,8 +129,8 @@ function(qt_internal_create_module_depends_file target) | |
set(all_depends ${depends} ${public_depends}) | |
foreach (dep ${all_depends}) | |
# Normalize module by stripping leading "Qt::" and trailing "Private" | |
- if (dep MATCHES "Qt::([A-Za-z0-9]+)") | |
- set(dep "${CMAKE_MATCH_1}") | |
+ if (dep MATCHES "(Qt|${QT_CMAKE_EXPORT_NAMESPACE})::([A-Za-z0-9]+)") | |
+ set(dep "${CMAKE_MATCH_2}") | |
if (TARGET Qt::${dep}) | |
get_target_property(dep_type Qt::${dep} TYPE) | |
if (NOT dep_type STREQUAL "INTERFACE_LIBRARY") |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment