summaryrefslogtreecommitdiffstats
path: root/cmake
diff options
context:
space:
mode:
authorCristian Adam <cristian.adam@gmail.com>2020-05-28 16:06:44 +0200
committerCristian Adam <cristian.adam@gmail.com>2020-05-28 20:47:18 +0200
commit0ea99a68f9e7659d0b77a6dc7cd514980dc3e748 (patch)
tree172048113eb82fd9297d2a42c06786e40835e6c7 /cmake
parentc83a9bfb9a402309d8aa0b185f63bbeab96ef455 (diff)
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>
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 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})