summaryrefslogtreecommitdiffstats
path: root/cmake
diff options
context:
space:
mode:
authorAlexandru Croitor <alexandru.croitor@qt.io>2019-11-13 10:09:17 +0100
committerAlexandru Croitor <alexandru.croitor@qt.io>2019-11-13 09:59:56 +0000
commitedcf5d014409de00c706cd8075a30cb7236f2118 (patch)
tree82711790707c92a8b2bf5ada4d0c3897977cbf0d /cmake
parentf00068561287e64c8c664ee1af3feff08b22b669 (diff)
Fix qt_skip_warnings_are_errors_when_repo_unclean for executables
Amends f00068561287e64c8c664ee1af3feff08b22b669 Change-Id: I48d7a42e11e609fa3a387b7669ee96bd10c856e4 Reviewed-by: Leander Beernaert <leander.beernaert@qt.io> Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
Diffstat (limited to 'cmake')
-rw-r--r--cmake/QtBuild.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmake/QtBuild.cmake b/cmake/QtBuild.cmake
index 472f9397dc..23bdaad129 100644
--- a/cmake/QtBuild.cmake
+++ b/cmake/QtBuild.cmake
@@ -2322,7 +2322,7 @@ function(add_qt_executable name)
endif()
qt_autogen_tools_initial_setup(${name})
- qt_skip_warnings_are_errors_when_repo_unclean("${target}")
+ qt_skip_warnings_are_errors_when_repo_unclean("${name}")
set(extra_libraries "")
if(NOT arg_BOOTSTRAP AND NOT arg_NO_QT)