summaryrefslogtreecommitdiffstats
path: root/util/cmake
diff options
context:
space:
mode:
authorLeander Beernaert <leander.beernaert@qt.io>2020-03-25 16:04:16 +0100
committerLeander Beernaert <leander.beernaert@qt.io>2020-03-25 17:00:27 +0100
commitb6446a5ffac55477d82da0492a9a41ce788275d5 (patch)
tree3da40462f36f033a7b788e5e705457236bca4456 /util/cmake
parenteb13e75f567e8e16b287cd3cb05d700cd500c292 (diff)
CMake: Fix exception in pro2cmake about missing v1 api
This patch silences the exception about missing v1 api entry for the qt_add_3rdparty_library() function. Change-Id: I74a473ed1c063b13f0a9ca64dcb568b8f8b27235 Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
Diffstat (limited to 'util/cmake')
-rwxr-xr-xutil/cmake/pro2cmake.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/util/cmake/pro2cmake.py b/util/cmake/pro2cmake.py
index 618e43c356..d4bcf81063 100755
--- a/util/cmake/pro2cmake.py
+++ b/util/cmake/pro2cmake.py
@@ -323,6 +323,7 @@ def set_up_cmake_api_calls():
api[1]["qt_add_resource"] = "add_qt_resource"
api[1]["qt_add_qml_module"] = "add_qml_module"
api[1]["qt_add_cmake_library"] = "add_cmake_library"
+ api[1]["qt_add_3rdparty_library"] = "qt_add_3rdparty_library"
api[2]["qt_extend_target"] = "qt_extend_target"
api[2]["qt_add_module"] = "qt_add_module"