From 6443c2215ee5c7d085fe84c7a271b70ea1185d3b Mon Sep 17 00:00:00 2001 From: Ulf Hermann Date: Thu, 8 Oct 2020 14:19:36 +0200 Subject: pro2cmake: Translate qmake's install_qmltypes CONFIG option We do want to install our qmltypes files ... Change-Id: I9769da852f92fcd9b1b8a8d093931f8c27d8a3d8 Reviewed-by: Fabian Kosmale Reviewed-by: Maximilian Goldstein Reviewed-by: Joerg Bornemann --- util/cmake/pro2cmake.py | 3 +++ 1 file changed, 3 insertions(+) (limited to 'util/cmake') diff --git a/util/cmake/pro2cmake.py b/util/cmake/pro2cmake.py index 1c2e224b0e..0e6f916f94 100755 --- a/util/cmake/pro2cmake.py +++ b/util/cmake/pro2cmake.py @@ -3855,6 +3855,9 @@ def write_plugin(cm_fh, scope, *, indent: int = 0) -> str: if "qmltypes" in scope.get("CONFIG"): extra.append("GENERATE_QMLTYPES") + if "install_qmltypes" in scope.get("CONFIG"): + extra.append("INSTALL_QMLTYPES") + if "static" in scope.get("CONFIG"): extra.append("STATIC") -- cgit v1.2.3