mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-02 10:49:26 +08:00
d369df7ecf
* [rollup:2021-07-06 1/8] PR #18272 (@strega-nil) [scripts-audit] vcpkg_from_* * [rollup:2021-07-06 2/8] PR #18319 (@strega-nil) [scripts-audit] add guidelines for cmake * [rollup 2021-07-06 3/8] PR #18410 (@mheyman) [vcpkg-cmake-config] documentation fix * [rollup:2021-07-06 4/8] PR #18488 (@strega-nil) [scripts-audit] vcpkg_execute_* * [rollup:2021-07-06 5/8] PR #18517 (@strega-nil) [scripts-audit] vcpkg_extract_source_archive * [rollup:2021-07-06 6/8] PR #18674 (@NancyLi1013) [vcpkg doc] Update examples * [rollup:2021-07-06 7/8] PR #18695 (@JackBoosY) [vcpkg] Update the minimum version of vcpkg * [rollup:2021-07-06 8/8] PR #18758 (@ras0219-msft) [vcpkg_from_git] Fix error if downloads folder does not exist * build docs! * fix bond:*-windows * fix nmap Co-authored-by: nicole mazzuca <mazzucan@outlook.com> Co-authored-by: Michael Heyman <Michael.Heyman@jhuapl.edu> Co-authored-by: NancyLi1013 <lirui09@beyondsoft.com> Co-authored-by: JackBoosY <yuzaiyang@beyondsoft.com> Co-authored-by: Robert Schumacher <ras0219@outlook.com>
29 lines
869 B
CMake
29 lines
869 B
CMake
include(${CURRENT_INSTALLED_DIR}/share/qt5/qt_port_functions.cmake)
|
|
#qt_submodule_installation() No binary package for this port.
|
|
if(QT_UPDATE_VERSION)
|
|
set(VCPKG_USE_HEAD_VERSION ON)
|
|
endif()
|
|
|
|
vcpkg_from_git(
|
|
OUT_SOURCE_PATH SOURCE_PATH
|
|
URL git://code.qt.io/qt/qtmqtt.git
|
|
REF ${QT_HASH_${PORT}}
|
|
HEAD_REF "v${QT_MAJOR_MINOR_VER}.${QT_PATCH_VER}"
|
|
PATCHES ${_qis_PATCHES}
|
|
)
|
|
|
|
if(QT_UPDATE_VERSION)
|
|
message(STATUS "New qtmqtt ref: ${VCPKG_HEAD_VERSION}")
|
|
endif()
|
|
|
|
# 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})
|