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>
This commit is contained in:
parent
72388f77a7
commit
3247f01c5e
@ -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()
|
||||
|
Loading…
x
Reference in New Issue
Block a user