vcpkg/ports/qtvirtualkeyboard/portfile.cmake
Alexander Neumann 45f34d72b9
[Qt] Update to 6.6.0 (#34426)
* [Qt] Update to 6.6.0

* fix patch in qtbase

* add tmp port to get qtwebengine logs

* remove dep in tmp port

* Fix CMAKE_BUILD_TYPE being hijacked by qt scripts.

* Fix qtwebengine build?

* add another script to be fixed

* remove path to cmake

* fix qtgrpc

* looks like the variable is defined somewhere.

* avoid aliasing only if the target exists

* try different aliasing fix

* fix patch

* Dep stuff

* reenable atomics

* reenable librt

* remove tmp

* v db

* v db

* add vulkan-header as a dependency

* v db

* also needs libs

* v db

* add a comment to remember me not to touch this again

* v db
2023-10-27 11:18:22 -07:00

32 lines
1.2 KiB
CMake

set(SCRIPT_PATH "${CURRENT_INSTALLED_DIR}/share/qtbase")
include("${SCRIPT_PATH}/qt_install_submodule.cmake")
set(${PORT}_PATCHES hunspell_include_path_fix.patch)
if("hunspell" IN_LIST FEATURES)
list(APPEND FEATURE_OPTIONS -DINPUT_vkb_hunspell:STRING=system)
else()
list(APPEND FEATURE_OPTIONS -DINPUT_vkb_hunspell=no)
endif()
#
# To use t9write, overlay this port with the following line changed to:
# list(APPEND FEATURE_OPTIONS -DINPUT_vkb_handwriting=t9write)
# and add t9write as a dependency.
#
list(APPEND FEATURE_OPTIONS
-DINPUT_vkb_handwriting=no
-DCMAKE_DISABLE_FIND_PACKAGE_CerenceHwrAlphabetic:BOOL=ON
-DCMAKE_DISABLE_FIND_PACKAGE_CerenceHwrCjk:BOOL=ON
-DCMAKE_DISABLE_FIND_PACKAGE_CerenceXt9:BOOL=ON
-DCMAKE_DISABLE_FIND_PACKAGE_MyScript:BOOL=ON
)
qt_install_submodule(PATCHES ${${PORT}_PATCHES}
CONFIGURE_OPTIONS ${FEATURE_OPTIONS}
-DINPUT_vkb_style:STRING=default
CONFIGURE_OPTIONS_RELEASE
CONFIGURE_OPTIONS_DEBUG -DFEATURE_vkb_record_trace_input=ON
-DFEATURE_vkb_sensitive_debug=ON
)