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>
This commit is contained in:
parent
04ff8b5b6a
commit
99e14037e2
@ -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()
|
||||
|
Loading…
Reference in New Issue
Block a user