mirror of
https://github.com/microsoft/vcpkg.git
synced 2025-06-07 14:42:48 +08:00
[pcl] use supports expressions (#30928)
This commit is contained in:
parent
2507e0e707
commit
8694c9368d
@ -20,14 +20,6 @@ vcpkg_from_github(
|
||||
|
||||
string(COMPARE EQUAL "${VCPKG_LIBRARY_LINKAGE}" "dynamic" PCL_SHARED_LIBS)
|
||||
|
||||
if ("cuda" IN_LIST FEATURES AND VCPKG_TARGET_ARCHITECTURE STREQUAL x86)
|
||||
message(FATAL_ERROR "Feature cuda only supports 64-bit compilation.")
|
||||
endif()
|
||||
|
||||
if ("tools" IN_LIST FEATURES AND VCPKG_LIBRARY_LINKAGE STREQUAL static)
|
||||
message(FATAL_ERROR "Feature tools only supports dynamic build")
|
||||
endif()
|
||||
|
||||
vcpkg_check_features(OUT_FEATURE_OPTIONS FEATURE_OPTIONS
|
||||
FEATURES
|
||||
openni2 WITH_OPENNI2
|
||||
|
@ -1,7 +1,7 @@
|
||||
{
|
||||
"name": "pcl",
|
||||
"version": "1.13.0",
|
||||
"port-version": 1,
|
||||
"port-version": 2,
|
||||
"description": "Point Cloud Library (PCL) is open source library for 2D/3D image and point cloud processing.",
|
||||
"homepage": "https://github.com/PointCloudLibrary/pcl",
|
||||
"license": "BSD-3-Clause",
|
||||
@ -55,6 +55,7 @@
|
||||
},
|
||||
"cuda": {
|
||||
"description": "CUDA support for PCL",
|
||||
"supports": "x64",
|
||||
"dependencies": [
|
||||
"cuda"
|
||||
]
|
||||
@ -132,6 +133,7 @@
|
||||
},
|
||||
"tools": {
|
||||
"description": "Build PCL utilities",
|
||||
"supports": "!static",
|
||||
"dependencies": [
|
||||
"boost-accumulators"
|
||||
]
|
||||
|
@ -6054,7 +6054,7 @@
|
||||
},
|
||||
"pcl": {
|
||||
"baseline": "1.13.0",
|
||||
"port-version": 1
|
||||
"port-version": 2
|
||||
},
|
||||
"pcre": {
|
||||
"baseline": "8.45",
|
||||
|
@ -1,5 +1,10 @@
|
||||
{
|
||||
"versions": [
|
||||
{
|
||||
"git-tree": "0c53a841b49d311f52e047bc61455479475c446e",
|
||||
"version": "1.13.0",
|
||||
"port-version": 2
|
||||
},
|
||||
{
|
||||
"git-tree": "b992407a0319c7dc434236acb567e629367d8eff",
|
||||
"version": "1.13.0",
|
||||
|
Loading…
Reference in New Issue
Block a user