From 99e14037e2438a95c6ee332e76583bc9b91c19bc Mon Sep 17 00:00:00 2001 From: Kevin Funk Date: Sun, 10 Feb 2019 22:34:42 +0100 Subject: [PATCH] cmake: QtFeature add debugging aid Persist the target name in the CMake cache description Change-Id: I124a8b89e5845d12301993b0546c8d5c91b8d8bb Reviewed-by: Simon Hausmann --- cmake/QtFeature.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmake/QtFeature.cmake b/cmake/QtFeature.cmake index 7a0df69f9f1..3d0f277b0eb 100644 --- a/cmake/QtFeature.cmake +++ b/cmake/QtFeature.cmake @@ -433,7 +433,7 @@ function(qt_make_features_available target) if (DEFINED "QT_FEATURE_${feature}") message(FATAL_ERROR "Feature ${feature} is already defined when importing features from ${target}.") endif() - set(QT_FEATURE_${feature} "${value}" CACHE INTERNAL "Qt feature: ${feature}") + set(QT_FEATURE_${feature} "${value}" CACHE INTERNAL "Qt feature: ${feature} (from target ${target})") endforeach() set(value OFF) endforeach()