mirror of
https://github.com/microsoft/vcpkg.git
synced 2025-01-14 06:28:00 +08:00
[lcm] use supports expression (#25356)
This commit is contained in:
parent
d9de2d6525
commit
16e92b355e
@ -10,9 +10,8 @@ vcpkg_from_github(
|
||||
glib.link.patch
|
||||
)
|
||||
|
||||
vcpkg_configure_cmake(
|
||||
SOURCE_PATH ${SOURCE_PATH}
|
||||
PREFER_NINJA
|
||||
vcpkg_cmake_configure(
|
||||
SOURCE_PATH "${SOURCE_PATH}"
|
||||
OPTIONS
|
||||
-DLCM_ENABLE_JAVA=OFF
|
||||
-DLCM_ENABLE_LUA=OFF
|
||||
@ -22,11 +21,11 @@ vcpkg_configure_cmake(
|
||||
-DLCM_INSTALL_PKGCONFIG=OFF
|
||||
)
|
||||
|
||||
vcpkg_install_cmake()
|
||||
vcpkg_cmake_install()
|
||||
if (VCPKG_TARGET_IS_WINDOWS)
|
||||
vcpkg_fixup_cmake_targets(CONFIG_PATH cmake)
|
||||
vcpkg_cmake_config_fixup(CONFIG_PATH cmake)
|
||||
else()
|
||||
vcpkg_fixup_cmake_targets(CONFIG_PATH lib/lcm/cmake)
|
||||
vcpkg_cmake_config_fixup(CONFIG_PATH lib/lcm/cmake)
|
||||
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/lib/lcm" "${CURRENT_PACKAGES_DIR}/lib/lcm")
|
||||
endif()
|
||||
|
||||
|
@ -1,13 +1,23 @@
|
||||
{
|
||||
"name": "lcm",
|
||||
"version": "1.4.0",
|
||||
"port-version": 2,
|
||||
"port-version": 3,
|
||||
"description": [
|
||||
"Lightweight Communications and Marshalling (LCM)",
|
||||
"LCM is a set of libraries and tools for message passing and data marshalling, targeted at real-time systems where high-bandwidth and low latency are critical. It provides a publish/subscribe message passing model and automatic marshalling/unmarshalling code generation with bindings for applications in a variety of programming languages."
|
||||
],
|
||||
"homepage": "https://github.com/lcm-proj/lcm",
|
||||
"license": "LGPL-2.1-or-later",
|
||||
"supports": "!osx",
|
||||
"dependencies": [
|
||||
"glib"
|
||||
"glib",
|
||||
{
|
||||
"name": "vcpkg-cmake",
|
||||
"host": true
|
||||
},
|
||||
{
|
||||
"name": "vcpkg-cmake-config",
|
||||
"host": true
|
||||
}
|
||||
]
|
||||
}
|
||||
|
@ -401,7 +401,6 @@ lastools:arm-uwp=fail
|
||||
lastools:x64-uwp=fail
|
||||
laszip:arm-uwp=fail
|
||||
laszip:x64-uwp=fail
|
||||
lcm:x64-osx=fail
|
||||
leptonica:x64-uwp=fail
|
||||
leptonica:arm-uwp=fail
|
||||
leveldb:arm-uwp=fail
|
||||
|
@ -3382,7 +3382,7 @@
|
||||
},
|
||||
"lcm": {
|
||||
"baseline": "1.4.0",
|
||||
"port-version": 2
|
||||
"port-version": 3
|
||||
},
|
||||
"lcms": {
|
||||
"baseline": "2.12",
|
||||
|
@ -1,5 +1,10 @@
|
||||
{
|
||||
"versions": [
|
||||
{
|
||||
"git-tree": "0fda8029241e6ff01935878156cd1c9cd2f3fe68",
|
||||
"version": "1.4.0",
|
||||
"port-version": 3
|
||||
},
|
||||
{
|
||||
"git-tree": "2094a87ea105e0b1d78db96519581cda97d527e2",
|
||||
"version": "1.4.0",
|
||||
|
Loading…
x
Reference in New Issue
Block a user