aboutsummaryrefslogtreecommitdiffstats
path: root/cmake
diff options
context:
space:
mode:
authorAlessandro Portale <alessandro.portale@qt.io>2021-05-27 23:11:28 +0200
committerAlessandro Portale <alessandro.portale@qt.io>2021-05-27 21:35:14 +0000
commit588af658eec4fcf961d973f87cabacbd4bbe27f3 (patch)
tree4011148a94e5e3fb9f3202850443dcaa17deedeb /cmake
parent015204a7c3c9003585dd415e4e588559d18b7589 (diff)
CMake build system: Fix error message in extend_qtc_test
Print out "${target_name}" Change-Id: I6978856bfe010cdfc934260db1a3490a1329eb6a Reviewed-by: Cristian Adam <cristian.adam@qt.io>
Diffstat (limited to 'cmake')
-rw-r--r--cmake/QtCreatorAPI.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmake/QtCreatorAPI.cmake b/cmake/QtCreatorAPI.cmake
index 169d660cea9..283fb0649e5 100644
--- a/cmake/QtCreatorAPI.cmake
+++ b/cmake/QtCreatorAPI.cmake
@@ -586,7 +586,7 @@ endfunction()
function(extend_qtc_test target_name)
if (NOT (target_name IN_LIST __QTC_TESTS))
- message(FATAL_ERROR "extend_qtc_test: Unknown test target \"${name}\"")
+ message(FATAL_ERROR "extend_qtc_test: Unknown test target \"${target_name}\"")
endif()
extend_qtc_target(${target_name} ${ARGN})
endfunction()