mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-03 20:19:00 +08:00
7939be217b
This allows to remove the nonstandard QTKEYCHAIN_STATIC variable.
31 lines
952 B
CMake
31 lines
952 B
CMake
message(WARNING "qtkeychain is a third-party extension to Qt and is not affiliated with The Qt Company")
|
|
|
|
vcpkg_from_github(
|
|
OUT_SOURCE_PATH SOURCE_PATH
|
|
REPO frankosterfeld/qtkeychain
|
|
REF v0.13.2
|
|
SHA512 10f8b1c959a126ba14614b797ea5640404a0b95c71e452225c74856eae90e966aac581ca393508a2106033c3d5ad70427ea6f7ef3f2997eddf6d09a7b4fa26eb
|
|
HEAD_REF master
|
|
)
|
|
|
|
vcpkg_cmake_configure(
|
|
DISABLE_PARALLEL_CONFIGURE
|
|
SOURCE_PATH ${SOURCE_PATH}
|
|
OPTIONS
|
|
-DBUILD_WITH_QT6=OFF
|
|
-DBUILD_TEST_APPLICATION=OFF
|
|
)
|
|
vcpkg_cmake_install()
|
|
|
|
vcpkg_copy_pdbs()
|
|
vcpkg_cmake_config_fixup(CONFIG_PATH lib/cmake/Qt5Keychain PACKAGE_NAME Qt5Keychain)
|
|
|
|
# Remove unneeded dirs
|
|
file(REMOVE_RECURSE
|
|
"${CURRENT_PACKAGES_DIR}/debug/include"
|
|
"${CURRENT_PACKAGES_DIR}/debug/share"
|
|
)
|
|
|
|
# Handle copyright
|
|
file(INSTALL "${SOURCE_PATH}/COPYING" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright)
|