2019-03-08 16:14:06 +08:00
|
|
|
vcpkg_check_linkage(ONLY_STATIC_LIBRARY)
|
|
|
|
|
2018-01-04 11:34:44 +08:00
|
|
|
vcpkg_from_github(
|
|
|
|
OUT_SOURCE_PATH SOURCE_PATH
|
|
|
|
REPO facebook/yoga
|
2023-08-04 21:53:58 +08:00
|
|
|
REF "v${VERSION}"
|
2024-06-27 11:17:19 +08:00
|
|
|
SHA512 04fdb398a402c499cc876ccb36a3edfd741ee4013f0ac6b5b33ce495add1d3b76c09d7672b3e3842e5e50c0d7f42a97b19fd7e8085c6fa964c063a161d9a0fe2
|
2018-01-04 11:34:44 +08:00
|
|
|
HEAD_REF master
|
2022-07-06 06:52:53 +08:00
|
|
|
PATCHES
|
2023-02-17 02:36:56 +08:00
|
|
|
disable_tests.patch
|
2018-01-04 11:34:44 +08:00
|
|
|
)
|
|
|
|
|
2022-07-06 06:52:53 +08:00
|
|
|
vcpkg_cmake_configure(
|
|
|
|
SOURCE_PATH "${SOURCE_PATH}"
|
2018-01-04 11:34:44 +08:00
|
|
|
)
|
|
|
|
|
2022-07-06 06:52:53 +08:00
|
|
|
vcpkg_cmake_install()
|
2018-01-04 11:34:44 +08:00
|
|
|
|
2023-02-17 02:36:56 +08:00
|
|
|
vcpkg_cmake_config_fixup(CONFIG_PATH lib/cmake/${PORT})
|
2019-10-08 19:43:23 +08:00
|
|
|
|
2022-07-06 06:52:53 +08:00
|
|
|
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include")
|
2018-01-04 11:34:44 +08:00
|
|
|
|
2023-02-17 02:36:56 +08:00
|
|
|
vcpkg_install_copyright(FILE_LIST "${SOURCE_PATH}/LICENSE")
|
|
|
|
file(INSTALL "${CMAKE_CURRENT_LIST_DIR}/usage" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}")
|