2019-12-23 15:44:37 -08:00
|
|
|
vcpkg_fail_port_install(ON_TARGET "UWP")
|
2017-09-28 11:38:37 -07:00
|
|
|
|
2019-05-02 22:57:43 -07:00
|
|
|
vcpkg_check_linkage(ONLY_STATIC_LIBRARY)
|
|
|
|
|
2017-09-28 11:38:37 -07:00
|
|
|
vcpkg_from_github(
|
|
|
|
OUT_SOURCE_PATH SOURCE_PATH
|
|
|
|
REPO abseil/abseil-cpp
|
2019-12-23 15:44:37 -08:00
|
|
|
REF 29235139149790f5afc430c11cec8f1eb1677607 #commit 2019-12-19
|
|
|
|
SHA512 be34c782eb6cdb3355ab56f1592e692435a63bf19a0364980d498c75db267e986e60a3e425bd3b9c57b7f8afdb7c642eb68386165ec147a6d5b448570bbe756a
|
2017-09-28 11:38:37 -07:00
|
|
|
HEAD_REF master
|
2019-08-28 06:52:18 +08:00
|
|
|
PATCHES
|
|
|
|
fix-usage-lnk-error.patch
|
2019-12-23 15:44:37 -08:00
|
|
|
fix-lnk2019-error.patch
|
2017-09-28 11:38:37 -07:00
|
|
|
)
|
|
|
|
|
|
|
|
vcpkg_configure_cmake(
|
|
|
|
SOURCE_PATH ${SOURCE_PATH}
|
|
|
|
PREFER_NINJA
|
|
|
|
)
|
|
|
|
|
|
|
|
vcpkg_install_cmake()
|
2019-08-28 06:52:18 +08:00
|
|
|
vcpkg_fixup_cmake_targets(CONFIG_PATH lib/cmake/absl TARGET_PATH share/absl)
|
2017-09-28 11:38:37 -07:00
|
|
|
|
|
|
|
vcpkg_copy_pdbs()
|
|
|
|
|
2019-12-23 15:44:37 -08:00
|
|
|
file(INSTALL ${SOURCE_PATH}/LICENSE DESTINATION ${CURRENT_PACKAGES_DIR}/share/${PORT} RENAME copyright)
|
2019-07-16 02:37:40 +08:00
|
|
|
file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug/share
|
|
|
|
${CURRENT_PACKAGES_DIR}/debug/include
|
|
|
|
${CURRENT_PACKAGES_DIR}/include/absl/copts
|
|
|
|
${CURRENT_PACKAGES_DIR}/include/absl/strings/testdata
|
|
|
|
${CURRENT_PACKAGES_DIR}/include/absl/time/internal/cctz/testdata)
|