mirror of
https://github.com/microsoft/vcpkg.git
synced 2025-01-19 15:13:05 +08:00
[qca] Control plugin dependencies (#30686)
This commit is contained in:
parent
dd28469d7a
commit
db2dcf48f5
@ -45,10 +45,9 @@ vcpkg_execute_required_process(
|
||||
)
|
||||
message(STATUS "Importing certstore done")
|
||||
|
||||
set(PLUGINS gnupg logger softstore wincrypto)
|
||||
if("botan" IN_LIST FEATURES)
|
||||
list(APPEND QCA_OPTIONS -DWITH_botan_PLUGIN=yes)
|
||||
else()
|
||||
list(APPEND QCA_OPTIONS -DWITH_botan_PLUGIN=no)
|
||||
list(APPEND PLUGINS botan)
|
||||
endif()
|
||||
|
||||
# Configure and build
|
||||
@ -56,13 +55,13 @@ vcpkg_cmake_configure(
|
||||
SOURCE_PATH "${SOURCE_PATH}"
|
||||
OPTIONS
|
||||
-DUSE_RELATIVE_PATHS=ON
|
||||
"-DBUILD_PLUGINS=${PLUGINS}"
|
||||
-DBUILD_TESTS=OFF
|
||||
-DBUILD_TOOLS=OFF
|
||||
-DBUILD_WITH_QT6=ON
|
||||
-DQCA_SUFFIX=OFF
|
||||
-DQCA_FEATURE_INSTALL_DIR=share/qca/mkspecs/features
|
||||
-DOSX_FRAMEWORK=OFF
|
||||
${QCA_OPTIONS}
|
||||
OPTIONS_DEBUG
|
||||
-DQCA_PLUGINS_INSTALL_DIR=${QCA_FEATURE_INSTALL_DIR_DEBUG}
|
||||
OPTIONS_RELEASE
|
||||
|
@ -1,6 +1,7 @@
|
||||
{
|
||||
"name": "qca",
|
||||
"version": "2.3.5",
|
||||
"port-version": 1,
|
||||
"description": "Qt Cryptographic Architecture (QCA).",
|
||||
"homepage": "https://userbase.kde.org/QCA",
|
||||
"dependencies": [
|
||||
@ -28,7 +29,11 @@
|
||||
"botan": {
|
||||
"description": "Build with botan",
|
||||
"dependencies": [
|
||||
"botan"
|
||||
"botan",
|
||||
{
|
||||
"name": "pkgconf",
|
||||
"host": true
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
|
@ -6362,7 +6362,7 @@
|
||||
},
|
||||
"qca": {
|
||||
"baseline": "2.3.5",
|
||||
"port-version": 0
|
||||
"port-version": 1
|
||||
},
|
||||
"qcustomplot": {
|
||||
"baseline": "2.1.1",
|
||||
|
@ -1,5 +1,10 @@
|
||||
{
|
||||
"versions": [
|
||||
{
|
||||
"git-tree": "a5af940aef31f91feea8cb12daddb268a7cf4608",
|
||||
"version": "2.3.5",
|
||||
"port-version": 1
|
||||
},
|
||||
{
|
||||
"git-tree": "8d7c38d61627baf7ae04a7f069fad8f506e5f82d",
|
||||
"version": "2.3.5",
|
||||
|
Loading…
Reference in New Issue
Block a user