diff options
author | Alessandro Portale <alessandro.portale@qt.io> | 2021-05-27 23:11:28 +0200 |
---|---|---|
committer | Alessandro Portale <alessandro.portale@qt.io> | 2021-05-27 21:35:14 +0000 |
commit | 588af658eec4fcf961d973f87cabacbd4bbe27f3 (patch) | |
tree | 4011148a94e5e3fb9f3202850443dcaa17deedeb /cmake | |
parent | 015204a7c3c9003585dd415e4e588559d18b7589 (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.cmake | 2 |
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() |