summaryrefslogtreecommitdiffstats
path: root/cmake/QtFindPackageHelpers.cmake
diff options
context:
space:
mode:
authorDominik Holland <dominik.holland@qt.io>2021-06-14 16:24:57 +0200
committerDominik Holland <dominik.holland@qt.io>2021-06-14 20:58:00 +0200
commitf380c87731472eb59495b7823b7c6243b3aa11f4 (patch)
tree205b9f8b797595e996dda96de5f1a997abc27e33 /cmake/QtFindPackageHelpers.cmake
parent6eea6e30c601a8864bfbb38fc063c536f243d991 (diff)
CMake: Add public FindPackageHelpers
This makes qt_internal_disable_find_package_global_promotion available, which is needed when linking against QtMultimedia in a static build Pick-to: 6.2 Change-Id: I9b8f6d7b74a8693ac471f8a280e893f4da80a44b Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
Diffstat (limited to 'cmake/QtFindPackageHelpers.cmake')
-rw-r--r--cmake/QtFindPackageHelpers.cmake4
1 files changed, 0 insertions, 4 deletions
diff --git a/cmake/QtFindPackageHelpers.cmake b/cmake/QtFindPackageHelpers.cmake
index 040fae0e27..a980652e60 100644
--- a/cmake/QtFindPackageHelpers.cmake
+++ b/cmake/QtFindPackageHelpers.cmake
@@ -299,7 +299,3 @@ function(qt_internal_should_not_promote_package_target_to_global target out_var)
get_property(should_not_promote TARGET "${target}" PROPERTY _qt_no_promote_global)
set("${out_var}" "${should_not_promote}" PARENT_SCOPE)
endfunction()
-
-function(qt_internal_disable_find_package_global_promotion target)
- set_target_properties("${target}" PROPERTIES _qt_no_promote_global TRUE)
-endfunction()