diff options
Diffstat (limited to 'util')
-rwxr-xr-x | util/cmake/configurejson2cmake.py | 3 | ||||
-rw-r--r-- | util/cmake/helper.py | 1 | ||||
-rwxr-xr-x | util/cmake/pro2cmake.py | 2 |
3 files changed, 6 insertions, 0 deletions
diff --git a/util/cmake/configurejson2cmake.py b/util/cmake/configurejson2cmake.py index 5a77c36b4e..85ac26ec2b 100755 --- a/util/cmake/configurejson2cmake.py +++ b/util/cmake/configurejson2cmake.py @@ -127,6 +127,9 @@ def map_tests(test: str) -> Optional[str]: "libinput_axis_api": "ON", "xlib": "X11_FOUND", "wayland-scanner": "WaylandScanner_FOUND", + "3rdparty-hunspell": "VKB_HAVE_3RDPARTY_HUNSPELL", + "t9write-alphabetic": "VKB_HAVE_T9WRITE_ALPHA", + "t9write-cjk": "VKB_HAVE_T9WRITE_CJK", } if test in testmap: return testmap.get(test, None) diff --git a/util/cmake/helper.py b/util/cmake/helper.py index 150610dc68..06fcb83f9d 100644 --- a/util/cmake/helper.py +++ b/util/cmake/helper.py @@ -587,6 +587,7 @@ _library_map = [ LibraryMapping("webp", "WrapWebP", "WrapWebP::WrapWebP"), LibraryMapping("jasper", "WrapJasper", "WrapJasper::WrapJasper"), LibraryMapping("sdl2", "WrapSDL2", "WrapSDL2::WrapSDL2"), + LibraryMapping("hunspell", "Hunspell", "Hunspell::Hunspell"), LibraryMapping( "assimp", "WrapAssimp", diff --git a/util/cmake/pro2cmake.py b/util/cmake/pro2cmake.py index bbfa65300c..9e183a4b13 100755 --- a/util/cmake/pro2cmake.py +++ b/util/cmake/pro2cmake.py @@ -1613,6 +1613,7 @@ def map_condition(condition: str) -> str: and not feature_name.startswith("system_assimp") and not feature_name.startswith("system_doubleconversion") and not feature_name.startswith("system_sqlite") + and not feature_name.startswith("system_hunspell") ): part = "ON" elif feature == "dlopen": @@ -1633,6 +1634,7 @@ _path_replacements = { "$$[QT_INSTALL_EXAMPLES]": "${INSTALL_EXAMPLESDIR}", "$$[QT_INSTALL_TESTS]": "${INSTALL_TESTSDIR}", "$$OUT_PWD": "${CMAKE_CURRENT_BINARY_DIR}", + "$$MODULE_BASE_OUTDIR": "${QT_BUILD_DIR}", } |