summaryrefslogtreecommitdiffstats
path: root/cmake
diff options
context:
space:
mode:
authorKevin Funk <kevin.funk@kdab.com>2019-02-10 22:34:42 +0100
committerKevin Funk <kevin.funk@kdab.com>2019-02-11 10:53:50 +0000
commit99e14037e2438a95c6ee332e76583bc9b91c19bc (patch)
tree3372ca2f19cbb5af28bcd411c22482656540199f /cmake
parent04ff8b5b6a5e8b940d1535a1302e47e2f6a0377c (diff)
cmake: QtFeature add debugging aid
Persist the target name in the CMake cache description Change-Id: I124a8b89e5845d12301993b0546c8d5c91b8d8bb Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
Diffstat (limited to 'cmake')
-rw-r--r--cmake/QtFeature.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmake/QtFeature.cmake b/cmake/QtFeature.cmake
index 7a0df69f9f..3d0f277b0e 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()