mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-03 02:19:00 +08:00
496f9e4fa4
* [trantor] Update to 1.2.0 * Add versions file
29 lines
766 B
CMake
29 lines
766 B
CMake
vcpkg_from_github(
|
|
OUT_SOURCE_PATH SOURCE_PATH
|
|
REPO an-tao/trantor
|
|
REF v1.2.0
|
|
SHA512 2d94ef174642c81e1db62621ae8bc98a5b439f90437af4fa0ab67d09646bb04847b07a8be305331807dad4ef9244b06636ef471ce9da15ce23fc8bed4ff1d9e2
|
|
HEAD_REF master
|
|
PATCHES
|
|
vcpkg.patch
|
|
)
|
|
|
|
vcpkg_configure_cmake(
|
|
SOURCE_PATH ${SOURCE_PATH}
|
|
PREFER_NINJA
|
|
)
|
|
|
|
vcpkg_install_cmake()
|
|
|
|
# Fix CMake files
|
|
vcpkg_fixup_cmake_targets(CONFIG_PATH lib/cmake/Trantor)
|
|
|
|
# # Remove includes in debug
|
|
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include")
|
|
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/share")
|
|
# Handle copyright
|
|
file(INSTALL ${SOURCE_PATH}/License DESTINATION ${CURRENT_PACKAGES_DIR}/share/${PORT} RENAME copyright)
|
|
|
|
# Copy pdb files
|
|
vcpkg_copy_pdbs()
|