From 0ea99a68f9e7659d0b77a6dc7cd514980dc3e748 Mon Sep 17 00:00:00 2001 From: Cristian Adam Date: Thu, 28 May 2020 16:06:44 +0200 Subject: CMake Build: Rename cmake_command to cmake_language The function name has been changed upstream (3.18). Change-Id: I76a26cdc8de71dffa5402a7c7423006a7a01552e Reviewed-by: Alexandru Croitor --- cmake/QtBuild.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmake/QtBuild.cmake b/cmake/QtBuild.cmake index 6fc4cc0b6f..5a604a0c44 100644 --- a/cmake/QtBuild.cmake +++ b/cmake/QtBuild.cmake @@ -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}) -- cgit v1.2.3