set(SCRIPT_PATH "${CURRENT_INSTALLED_DIR}/share/qtbase") include("${SCRIPT_PATH}/qt_install_submodule.cmake") if(QT_IS_LATEST) set(${PORT}_PATCHES fix_alignment.patch) endif() set(TOOL_NAMES qml qmlcachegen qmleasing qmlformat qmlimportscanner qmllint qmlplugindump qmlpreview qmlprofiler qmlscene qmltestrunner qmltime qmltyperegistrar ) qt_install_submodule(PATCHES ${${PORT}_PATCHES} TOOL_NAMES ${TOOL_NAMES} CONFIGURE_OPTIONS CONFIGURE_OPTIONS_RELEASE CONFIGURE_OPTIONS_DEBUG )