mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-11-30 10:31:38 +08:00
a19f192c53
* [yoga] Bump to 2.0.0 * update version database
25 lines
702 B
CMake
25 lines
702 B
CMake
vcpkg_check_linkage(ONLY_STATIC_LIBRARY)
|
|
|
|
vcpkg_from_github(
|
|
OUT_SOURCE_PATH SOURCE_PATH
|
|
REPO facebook/yoga
|
|
REF "v${VERSION}"
|
|
SHA512 0b1a7e4db856845137c0d6f4bf440b0e56a4c288e50446000c4093dd01ef1469100d1ca25a963af3e5f786e1c439b3cca47f4fbf4c28fd87ae7f160a47657f26
|
|
HEAD_REF master
|
|
PATCHES
|
|
disable_tests.patch
|
|
)
|
|
|
|
vcpkg_cmake_configure(
|
|
SOURCE_PATH "${SOURCE_PATH}"
|
|
)
|
|
|
|
vcpkg_cmake_install()
|
|
|
|
vcpkg_cmake_config_fixup(CONFIG_PATH lib/cmake/${PORT})
|
|
|
|
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include")
|
|
|
|
vcpkg_install_copyright(FILE_LIST "${SOURCE_PATH}/LICENSE")
|
|
file(INSTALL "${CMAKE_CURRENT_LIST_DIR}/usage" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}")
|