diff options
author | Alexandru Croitor <alexandru.croitor@qt.io> | 2020-09-09 09:52:04 +0200 |
---|---|---|
committer | Alexandru Croitor <alexandru.croitor@qt.io> | 2020-09-09 18:53:49 +0200 |
commit | 3247f01c5e185eed99113d92c1c2af0f2e068ba4 (patch) | |
tree | 30168bfb12af9c0d546d39deb492616a81465b03 /cmake | |
parent | 72388f77a7033c6ea7fb7b5ba50fcf1ea5d57345 (diff) |
CMake: Fix qt_apply_rpaths not erroring out when no target is given
I accidentally noticed the message in a CI job, but it didn't fail the
build because the FATAL_ERRO was considered as another text token to
print, instead of a command keyword.
Change-Id: I0e30ebacbed32d1017f9ded681cd6b15cbc32573
Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
Diffstat (limited to 'cmake')
-rw-r--r-- | cmake/QtRpathHelpers.cmake | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cmake/QtRpathHelpers.cmake b/cmake/QtRpathHelpers.cmake index eeb837df8f..6273de3eb6 100644 --- a/cmake/QtRpathHelpers.cmake +++ b/cmake/QtRpathHelpers.cmake @@ -60,7 +60,7 @@ function(qt_apply_rpaths) qt_parse_all_arguments(arg "qt_apply_rpaths" "RELATIVE_RPATH" "TARGET;INSTALL_PATH" "" ${ARGN}) if(NOT arg_TARGET) - message(FATAL_ERRO "No target given to qt_apply_rpaths.") + message(FATAL_ERROR "No target given to qt_apply_rpaths.") else() set(target "${arg_TARGET}") endif() |