2019-05-03 13:57:43 +08:00
|
|
|
vcpkg_check_linkage(ONLY_DYNAMIC_LIBRARY ONLY_DYNAMIC_CRT)
|
2017-09-26 22:04:49 +08:00
|
|
|
|
2018-02-24 14:32:02 +08:00
|
|
|
vcpkg_from_github(
|
|
|
|
OUT_SOURCE_PATH SOURCE_PATH
|
|
|
|
REPO finetjul/gts
|
2020-04-27 23:01:31 +08:00
|
|
|
REF c4da61ae075f355d9ecc9f2d4767acf777f54c2b #0.7.6
|
2017-09-26 22:04:49 +08:00
|
|
|
SHA512 e53d11213c26cbda08ae62e6388aee0a14d2884de72268ad25d10a23e77baa53a2b1151c5cc7643b059ded82b8edf0da79144c3108949fdc515168cac13ffca9
|
2018-02-24 14:32:02 +08:00
|
|
|
HEAD_REF master
|
2020-04-27 23:01:31 +08:00
|
|
|
PATCHES
|
|
|
|
fix-M_PI-in-windows.patch
|
|
|
|
support-unix.patch
|
2020-06-12 12:30:40 +08:00
|
|
|
fix-pkgconfig.patch
|
2017-09-26 22:04:49 +08:00
|
|
|
)
|
|
|
|
|
|
|
|
vcpkg_configure_cmake(
|
|
|
|
SOURCE_PATH ${SOURCE_PATH}
|
|
|
|
)
|
|
|
|
|
|
|
|
vcpkg_install_cmake()
|
|
|
|
|
|
|
|
file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug/include)
|
|
|
|
|
2020-06-12 12:30:40 +08:00
|
|
|
vcpkg_fixup_pkgconfig()
|
2018-02-24 14:32:02 +08:00
|
|
|
vcpkg_copy_pdbs()
|
2020-06-12 12:30:40 +08:00
|
|
|
|
|
|
|
file(INSTALL ${SOURCE_PATH}/COPYING DESTINATION ${CURRENT_PACKAGES_DIR}/share/${PORT} RENAME copyright)
|