mirror of https://github.com/microsoft/vcpkg.git
[qca] new feature botan (#22227)
This commit is contained in:
parent
ab4cd0c72a
commit
aac7c6588b
|
|
@ -44,6 +44,12 @@ vcpkg_execute_required_process(
|
|||
)
|
||||
message(STATUS "Importing certstore done")
|
||||
|
||||
if("botan" IN_LIST FEATURES)
|
||||
list(APPEND QCA_OPTIONS -DWITH_botan_PLUGIN="yes")
|
||||
else()
|
||||
list(APPEND QCA_OPTIONS -DWITH_botan_PLUGIN="no")
|
||||
endif()
|
||||
|
||||
# Configure and build
|
||||
vcpkg_cmake_configure(
|
||||
SOURCE_PATH "${SOURCE_PATH}"
|
||||
|
|
@ -54,6 +60,7 @@ vcpkg_cmake_configure(
|
|||
-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,11 +1,10 @@
|
|||
{
|
||||
"name": "qca",
|
||||
"version": "2.3.4",
|
||||
"port-version": 1,
|
||||
"port-version": 2,
|
||||
"description": "Qt Cryptographic Architecture (QCA).",
|
||||
"homepage": "https://cgit.kde.org/qca.git/",
|
||||
"dependencies": [
|
||||
"botan",
|
||||
{
|
||||
"name": "qt5-base",
|
||||
"default-features": false
|
||||
|
|
@ -18,5 +17,16 @@
|
|||
"name": "vcpkg-cmake-config",
|
||||
"host": true
|
||||
}
|
||||
]
|
||||
],
|
||||
"default-features": [
|
||||
"botan"
|
||||
],
|
||||
"features": {
|
||||
"botan": {
|
||||
"description": "Build with botan",
|
||||
"dependencies": [
|
||||
"botan"
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -5502,7 +5502,7 @@
|
|||
},
|
||||
"qca": {
|
||||
"baseline": "2.3.4",
|
||||
"port-version": 1
|
||||
"port-version": 2
|
||||
},
|
||||
"qcustomplot": {
|
||||
"baseline": "2.0.1",
|
||||
|
|
|
|||
|
|
@ -1,5 +1,10 @@
|
|||
{
|
||||
"versions": [
|
||||
{
|
||||
"git-tree": "41239863ffd0059d8688502f6d6284785c6c8633",
|
||||
"version": "2.3.4",
|
||||
"port-version": 2
|
||||
},
|
||||
{
|
||||
"git-tree": "d61c0d118f3d64f69c85f2442b28d4c2eed0a070",
|
||||
"version": "2.3.4",
|
||||
|
|
|
|||
Loading…
Reference in New Issue