mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-11-29 02:49:01 +08:00
35f5c4638f
* update qt to 6.2.3 * update few details * fix filepath. * use vcpkg_cmake_install * use the old fixup since the new one is missing TOOLS_PATH * more fixes * fix bugs * regex tuning * more bug fixes * fix qtwebengine * version stuff * ci retrigger * fix more unused vars * fix some details and silent maybe_unused warnings * version stuff * fix last warning * [skip actions] version stuff * change QT_NAMESPACE to VCPKG_QT_NAMESPACE since that is what the guidelines say for global variables. * version stuff * Apply suggestions from code review Co-authored-by: nicole mazzuca <83086508+strega-nil-ms@users.noreply.github.com> * [skip actions] version stuff * version-semver -> version * add license: null * [skip actions] version stuff * small but important prl fix * [skip actions] version stuff * move submodule hashes into port details. * switch to vcpkg-cmake-config because the merge takes so long. * version stuff and hopefully silent bot. * don't let qt "cleanup" compiler flags * add missing dependency. * forgot to chain vcpkg-cmake-config * bit of feature setting to fix dep issues in cmake PR * version stuff * fix unused warnings. * version stuff * silence more warnings * version stuff * do the silencing in qttranslations correctly. * version stuff * silence GHA * version stuff Co-authored-by: nicole mazzuca <83086508+strega-nil-ms@users.noreply.github.com> Co-authored-by: nicole mazzuca <mazzucan@outlook.com>
32 lines
1.1 KiB
CMake
32 lines
1.1 KiB
CMake
set(SCRIPT_PATH "${CURRENT_INSTALLED_DIR}/share/qtbase")
|
|
include("${SCRIPT_PATH}/qt_install_submodule.cmake")
|
|
|
|
# General features:
|
|
vcpkg_check_features(OUT_FEATURE_OPTIONS FEATURE_OPTIONS
|
|
FEATURES
|
|
"open62541" FEATURE_open62541
|
|
# "open62541" FEATURE_open62541_security # requires vendored open62541
|
|
"uacpp" FEATURE_uacpp
|
|
"ns0idnames" FEATURE_ns0idnames
|
|
"ns0idgenerator" FEATURE_ns0idgenerator
|
|
INVERTED_FEATURES
|
|
"qml" CMAKE_DISABLE_FIND_PACKAGE_Qt6Quick
|
|
)
|
|
if("open62541" IN_LIST FEATURES)
|
|
list(APPEND FEATURE_OPTIONS -DINPUT_open62541=system
|
|
-DHAVE_open62541=true)
|
|
else()
|
|
list(APPEND FEATURE_OPTIONS -DINPUT_open62541=no)
|
|
endif()
|
|
|
|
if(NOT "open62541" IN_LIST FEATURES AND NOT "gds" IN_LIST FEATURES)
|
|
list(APPEND FEATURE_OPTIONS -DCMAKE_DISABLE_FIND_PACKAGE_WrapOpenSSL=ON)
|
|
endif()
|
|
|
|
qt_install_submodule(PATCHES ${${PORT}_PATCHES}
|
|
CONFIGURE_OPTIONS
|
|
${FEATURE_OPTIONS}
|
|
CONFIGURE_OPTIONS_RELEASE
|
|
CONFIGURE_OPTIONS_DEBUG
|
|
)
|