2019-03-22 16:08:50 +08:00
|
|
|
include(vcpkg_common_functions)
|
|
|
|
|
|
|
|
include(${CURRENT_INSTALLED_DIR}/share/qt5modularscripts/qt_modular_library.cmake)
|
|
|
|
|
|
|
|
vcpkg_from_github(
|
|
|
|
OUT_SOURCE_PATH SOURCE_PATH
|
|
|
|
REPO qt/qtmqtt
|
2019-05-09 06:15:26 +08:00
|
|
|
REF cf41d84738f0ed0c779f75db94d413ad938fb901
|
|
|
|
SHA512 e9a818999e4befb0b945d609a1ee28a3e2d7e3b6d8c12ab82ae827fdb8f6bf5e8b82114c1850438d634fa24c9ac608ebae1d461385bd4e088f8cabf7eec0182c
|
2019-03-22 16:08:50 +08:00
|
|
|
HEAD_REF dev
|
|
|
|
)
|
|
|
|
|
|
|
|
# Qt module builds from a git repository require a .git entry to invoke syncqt
|
|
|
|
file(WRITE "${SOURCE_PATH}/.git" "repocontent")
|
|
|
|
|
|
|
|
# syncqt is a PERL script
|
|
|
|
vcpkg_find_acquire_program(PERL)
|
|
|
|
get_filename_component(PERL_EXE_PATH ${PERL} DIRECTORY)
|
2019-07-07 15:28:34 +08:00
|
|
|
vcpkg_add_to_path("${PERL_EXE_PATH}")
|
2019-03-22 16:08:50 +08:00
|
|
|
|
|
|
|
qt_modular_build_library(${SOURCE_PATH})
|