summaryrefslogtreecommitdiffstats
path: root/cmake/QtBuild.cmake
diff options
context:
space:
mode:
authorSimon Hausmann <simon.hausmann@qt.io>2019-10-11 13:56:40 +0200
committerSimon Hausmann <simon.hausmann@qt.io>2019-10-15 08:39:55 +0000
commita3fd3c193d962fdeba32861a91c040d8b3d715a7 (patch)
tree8440dc20b0ba507f8a851953ccb0594ab240a16c /cmake/QtBuild.cmake
parente919dfb91e90b795b1523b10a63e1fbb575e8449 (diff)
Remove compatibility code for old call sites of qlalr processing
Change-Id: I48801c336f7546b9366c70d877d20222c16dd4ff Reviewed-by: Qt CMake Build Bot Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
Diffstat (limited to 'cmake/QtBuild.cmake')
-rw-r--r--cmake/QtBuild.cmake8
1 files changed, 0 insertions, 8 deletions
diff --git a/cmake/QtBuild.cmake b/cmake/QtBuild.cmake
index 94d75fe58c..f7e3e3f5a4 100644
--- a/cmake/QtBuild.cmake
+++ b/cmake/QtBuild.cmake
@@ -3188,14 +3188,6 @@ endfunction()
# 'input_file_list' is a list of 'foo.g' file paths.
# 'flags' are extra flags to be passed to qlalr.
function(qt_process_qlalr consuming_target input_file_list flags)
- # For compatibility, swap parameters if called from an old call site.
- if (NOT TARGET "${consuming_target}")
- set(tmp "${consuming_target}")
- set(consuming_target "${input_file_list}")
- set(input_file_list "${tmp}")
- unset(tmp)
- endif()
-
foreach(input_file ${input_file_list})
file(STRINGS ${input_file} input_file_lines)
qt_qlalr_find_option_in_list("${input_file_lines}" "^%parser(.+)" "parser")