2019-08-10 03:36:36 +08:00
|
|
|
vcpkg_from_github(
|
|
|
|
OUT_SOURCE_PATH SOURCE_PATH
|
|
|
|
REPO githubuser0xFFFF/Qt-Advanced-Docking-System
|
2021-12-07 12:18:38 +08:00
|
|
|
REF 487e23e190b8130de3b60e6e801f404edbedbf2f #v3.7.2
|
|
|
|
SHA512 da6d813267f242d4460d77808588f3bf11a8ea91183e2d8aa1040228cf5176556153d3c741c2f1c22f0a098de15ecc6c336f0b078fd0365c81cc27aa54868572
|
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
|
|
|
|
)
|
|
|
|
|
2021-12-07 12:18:38 +08:00
|
|
|
vcpkg_cmake_configure(
|
2019-08-10 03:36:36 +08:00
|
|
|
SOURCE_PATH ${SOURCE_PATH}
|
2020-09-15 08:02:31 +08:00
|
|
|
OPTIONS
|
|
|
|
-DBUILD_EXAMPLES=OFF
|
2021-12-07 12:18:38 +08:00
|
|
|
-DVERSION_SHORT=3.7.2
|
2019-08-10 03:36:36 +08:00
|
|
|
)
|
|
|
|
|
2021-12-07 12:18:38 +08:00
|
|
|
vcpkg_cmake_install()
|
2019-08-10 03:36:36 +08:00
|
|
|
|
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)
|
2021-12-07 12:18:38 +08:00
|
|
|
vcpkg_cmake_config_fixup(PACKAGE_NAME qtadvanceddocking CONFIG_PATH lib/cmake/qtadvanceddocking)
|