mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-28 03:10:57 +08:00
[liblemon] Fix post-build failed (#10106)
* [liblemon] Fix post-build failed * Update homepage field in CONTROL
This commit is contained in:
parent
83da216ce5
commit
980331d7a6
@ -1,3 +1,4 @@
|
||||
Source: liblemon
|
||||
Version: 2019-06-13
|
||||
Description: Library for Efficient Modeling and Optimization in Networks
|
||||
Version: 2019-06-13-1
|
||||
Homepage: https://lemon.cs.elte.hu/trac/lemon
|
||||
Description: Library for Efficient Modeling and Optimization in Networks
|
@ -1,5 +1,3 @@
|
||||
include(vcpkg_common_functions)
|
||||
|
||||
vcpkg_check_linkage(ONLY_STATIC_LIBRARY)
|
||||
|
||||
set(VERSION ed2c21cbd6ef)
|
||||
@ -15,8 +13,8 @@ vcpkg_extract_source_archive_ex(
|
||||
ARCHIVE ${ARCHIVE}
|
||||
REF ${VERSION}
|
||||
PATCHES
|
||||
"cmake.patch"
|
||||
"fixup-targets.patch"
|
||||
cmake.patch
|
||||
fixup-targets.patch
|
||||
)
|
||||
|
||||
vcpkg_configure_cmake(
|
||||
@ -40,6 +38,7 @@ vcpkg_copy_tool_dependencies(${CURRENT_PACKAGES_DIR}/tools/liblemon)
|
||||
file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug/include)
|
||||
file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug/share)
|
||||
file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/bin ${CURRENT_PACKAGES_DIR}/debug/bin)
|
||||
file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/share/doc)
|
||||
|
||||
# Handle copyright
|
||||
file(INSTALL ${SOURCE_PATH}/LICENSE DESTINATION ${CURRENT_PACKAGES_DIR}/share/liblemon RENAME copyright)
|
||||
file(INSTALL ${SOURCE_PATH}/LICENSE DESTINATION ${CURRENT_PACKAGES_DIR}/share/${PORT} RENAME copyright)
|
Loading…
x
Reference in New Issue
Block a user