2019-08-10 03:36:36 +08:00
|
|
|
vcpkg_from_github(
|
|
|
|
OUT_SOURCE_PATH SOURCE_PATH
|
|
|
|
REPO githubuser0xFFFF/Qt-Advanced-Docking-System
|
2020-11-03 05:56:37 +08:00
|
|
|
REF 44dc76bd19853dcb18d37d5be231af526c8f709e #v3.6.3
|
2020-11-24 02:51:06 +08:00
|
|
|
SHA512 ff50cd65f82736eae90f823d332d63c5c024ecb9e510f95fb8d776a0763bbd0143094b789516193c4037ca2a82eba33d73a68193bb6777e285c8a1e397b3958c
|
2019-08-10 03:36:36 +08:00
|
|
|
HEAD_REF master
|
|
|
|
PATCHES
|
2020-09-15 08:02:31 +08:00
|
|
|
hardcode_version.patch
|
2019-08-10 03:36:36 +08:00
|
|
|
config_changes.patch
|
|
|
|
)
|
|
|
|
|
|
|
|
vcpkg_configure_cmake(
|
|
|
|
SOURCE_PATH ${SOURCE_PATH}
|
|
|
|
PREFER_NINJA
|
2020-09-15 08:02:31 +08:00
|
|
|
OPTIONS
|
|
|
|
-DBUILD_EXAMPLES=OFF
|
2020-11-03 05:56:37 +08:00
|
|
|
-DVERSION_SHORT=3.6.3
|
2019-08-10 03:36:36 +08:00
|
|
|
)
|
|
|
|
|
|
|
|
vcpkg_install_cmake()
|
|
|
|
|
2020-04-27 21:54:16 +08:00
|
|
|
file(INSTALL ${SOURCE_PATH}/LICENSE DESTINATION ${CURRENT_PACKAGES_DIR}/share/${PORT} RENAME copyright)
|
2020-04-30 04:39:22 +08:00
|
|
|
file(INSTALL ${SOURCE_PATH}/gnu-lgpl-v2.1.md DESTINATION ${CURRENT_PACKAGES_DIR}/share/${PORT})
|
2019-08-10 03:36:36 +08:00
|
|
|
file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug/include)
|
|
|
|
file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug/license)
|
2020-04-27 21:54:16 +08:00
|
|
|
file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug/share)
|
2020-09-15 08:02:31 +08:00
|
|
|
vcpkg_fixup_cmake_targets(CONFIG_PATH lib/cmake/qtadvanceddocking TARGET_PATH share/qtadvanceddocking)
|