mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-27 10:21:07 +08:00
[libmodman] no absolute paths (#22357)
This commit is contained in:
parent
e15bfe6867
commit
17c788531c
@ -1,5 +1,3 @@
|
||||
vcpkg_fail_port_install(ON_TARGET "UWP")
|
||||
|
||||
# Enable static build in UNIX
|
||||
if (VCPKG_TARGET_IS_WINDOWS)
|
||||
vcpkg_check_linkage(ONLY_DYNAMIC_LIBRARY)
|
||||
@ -25,19 +23,20 @@ vcpkg_extract_source_archive_ex(
|
||||
fix-undefined-typeid.patch
|
||||
)
|
||||
|
||||
vcpkg_configure_cmake(
|
||||
SOURCE_PATH ${SOURCE_PATH}
|
||||
PREFER_NINJA
|
||||
vcpkg_cmake_configure(
|
||||
SOURCE_PATH "${SOURCE_PATH}"
|
||||
OPTIONS ${FEATURE_OPTIONS}
|
||||
)
|
||||
|
||||
vcpkg_install_cmake()
|
||||
vcpkg_fixup_cmake_targets(CONFIG_PATH share/libmodman)
|
||||
vcpkg_cmake_install()
|
||||
vcpkg_cmake_config_fixup(CONFIG_PATH share/libmodman)
|
||||
vcpkg_copy_pdbs()
|
||||
|
||||
file(COPY ${CMAKE_CURRENT_LIST_DIR}/vcpkg-cmake-wrapper.cmake
|
||||
${CMAKE_CURRENT_LIST_DIR}/usage
|
||||
DESTINATION ${CURRENT_PACKAGES_DIR}/share/${PORT})
|
||||
file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug/include ${CURRENT_PACKAGES_DIR}/debug/share)
|
||||
file(COPY "${CMAKE_CURRENT_LIST_DIR}/vcpkg-cmake-wrapper.cmake"
|
||||
"${CMAKE_CURRENT_LIST_DIR}/usage"
|
||||
DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}")
|
||||
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include" "${CURRENT_PACKAGES_DIR}/debug/share")
|
||||
|
||||
file(INSTALL ${SOURCE_PATH}/COPYING DESTINATION ${CURRENT_PACKAGES_DIR}/share/${PORT} RENAME copyright)
|
||||
vcpkg_fixup_pkgconfig()
|
||||
|
||||
file(INSTALL "${SOURCE_PATH}/COPYING" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright)
|
||||
|
@ -1,9 +1,20 @@
|
||||
{
|
||||
"name": "libmodman",
|
||||
"version-string": "2.0.1",
|
||||
"port-version": 3,
|
||||
"port-version": 4,
|
||||
"description": "a simple library for managing modules",
|
||||
"homepage": "https://code.google.com/p/libmodman",
|
||||
"supports": "!uwp",
|
||||
"dependencies": [
|
||||
{
|
||||
"name": "vcpkg-cmake",
|
||||
"host": true
|
||||
},
|
||||
{
|
||||
"name": "vcpkg-cmake-config",
|
||||
"host": true
|
||||
}
|
||||
],
|
||||
"features": {
|
||||
"tests": {
|
||||
"description": "Build libmodman tests",
|
||||
|
@ -3678,7 +3678,7 @@
|
||||
},
|
||||
"libmodman": {
|
||||
"baseline": "2.0.1",
|
||||
"port-version": 3
|
||||
"port-version": 4
|
||||
},
|
||||
"libmodplug": {
|
||||
"baseline": "0.8.9.0",
|
||||
|
@ -1,5 +1,10 @@
|
||||
{
|
||||
"versions": [
|
||||
{
|
||||
"git-tree": "64d71ad6052dd0027325c7e9390ad4264dbef108",
|
||||
"version-string": "2.0.1",
|
||||
"port-version": 4
|
||||
},
|
||||
{
|
||||
"git-tree": "202e2ccfbf309183f222f9c849f92452bd8f3b48",
|
||||
"version-string": "2.0.1",
|
||||
|
Loading…
x
Reference in New Issue
Block a user