2019-09-13 01:07:22 +08:00
|
|
|
include(${CURRENT_INSTALLED_DIR}/share/qt5/qt_port_functions.cmake)
|
|
|
|
#qt_submodule_installation() No binary package for this port.
|
2019-03-22 16:08:50 +08:00
|
|
|
|
|
|
|
vcpkg_from_github(
|
|
|
|
OUT_SOURCE_PATH SOURCE_PATH
|
|
|
|
REPO qt/qtmqtt
|
2019-09-13 01:07:22 +08:00
|
|
|
REF v${QT_MAJOR_MINOR_VER}.${QT_PATCH_VER}
|
|
|
|
SHA512 ${QT_HASH_${PORT}}
|
2019-03-22 16:08:50 +08:00
|
|
|
)
|
|
|
|
|
2019-09-13 01:07:22 +08:00
|
|
|
# qt module builds from a git repository require a .git entry to invoke syncqt
|
2019-03-22 16:08:50 +08:00
|
|
|
file(WRITE "${SOURCE_PATH}/.git" "repocontent")
|
|
|
|
|
2019-09-13 01:07:22 +08:00
|
|
|
# syncqt is a perl script
|
2019-03-22 16:08:50 +08:00
|
|
|
vcpkg_find_acquire_program(PERL)
|
2019-09-13 01:07:22 +08:00
|
|
|
get_filename_component(perl_exe_path ${PERL} DIRECTORY)
|
|
|
|
vcpkg_add_to_path("${perl_exe_path}")
|
2019-03-22 16:08:50 +08:00
|
|
|
|
2019-09-13 01:07:22 +08:00
|
|
|
qt_build_submodule(${SOURCE_PATH})
|
|
|
|
qt_install_copyright(${SOURCE_PATH})
|