CMake Build: Rename cmake_command to cmake_language
The function name has been changed upstream (3.18). Change-Id: I76a26cdc8de71dffa5402a7c7423006a7a01552e Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
This commit is contained in:
parent
c83a9bfb9a
commit
0ea99a68f9
@ -2127,7 +2127,7 @@ function(qt_watch_current_list_dir variable access value current_list_file stack
|
||||
message(FATAL_ERROR "qt_watch_current_list_dir doesn't know about ${func}. Consider adding it.")
|
||||
endif()
|
||||
else()
|
||||
cmake_command(INVOKE ${func} ${a1} ${a2} ${a3} ${a4} ${a5} ${a6} ${a7} ${a8} ${a9})
|
||||
cmake_language(CALL ${func} ${a1} ${a2} ${a3} ${a4} ${a5} ${a6} ${a7} ${a8} ${a9})
|
||||
endif()
|
||||
list(REMOVE_AT files ${i})
|
||||
list(REMOVE_AT funcs ${i})
|
||||
|
Loading…
Reference in New Issue
Block a user