mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-29 22:27:56 +08:00
96f4487c77
* update to 5.12.4 * removed port qt5-modularscripts and split it functionality into more functions into qt5-base * added qt_port_hashes.cmake for simpler upgrade. * added optional VCPKG_QT_HOST_MKSPEC and VCPKG_QT_TARGET_MKSPEC to select QTs build mkspecs from a triplet * qt_<config>.conf are now copied from the build dir instead from the port dir * fixed freetype dependencies. * cleanup of vcpkg_qmake scripts. No strange/unclear replacements anymore. * introduced vcpkg_buildpath_length_warning * changed directory layout of the qt5 installation executables and mkspecs a bit.
21 lines
656 B
CMake
21 lines
656 B
CMake
include(${CURRENT_INSTALLED_DIR}/share/qt5/qt_port_functions.cmake)
|
|
#qt_submodule_installation() No binary package for this port.
|
|
|
|
vcpkg_from_github(
|
|
OUT_SOURCE_PATH SOURCE_PATH
|
|
REPO qt/qtmqtt
|
|
REF v${QT_MAJOR_MINOR_VER}.${QT_PATCH_VER}
|
|
SHA512 ${QT_HASH_${PORT}}
|
|
)
|
|
|
|
# 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)
|
|
vcpkg_add_to_path("${perl_exe_path}")
|
|
|
|
qt_build_submodule(${SOURCE_PATH})
|
|
qt_install_copyright(${SOURCE_PATH})
|