Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

pcl: fix missing include #4427

Open
wants to merge 1 commit into
base: dev
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 5 additions & 2 deletions packages/p/pcl/xmake.lua
Original file line number Diff line number Diff line change
@@ -1,22 +1,25 @@
package("pcl")

set_homepage("https://pointclouds.org/")
set_description("The Point Cloud Library (PCL) is a standalone, large scale, open project for 2D/3D image and point cloud processing.")
set_license("BSD-3-Clause")

add_urls("https://github.com/PointCloudLibrary/pcl/archive/refs/tags/pcl-$(version).tar.gz",
"https://github.com/PointCloudLibrary/pcl.git")

add_versions("1.12.0", "21dfa9a268de9675c1f94d54d9402e4e02120a0aa4215d064436c52b7d5bd48f")
add_versions("1.12.1", "dc0ac26f094eafa7b26c3653838494cc0a012bd1bdc1f1b0dc79b16c2de0125a")
add_versions("1.14.0", "de297b929eafcb93747f12f98a196efddf3d55e4edf1b6729018b436d5be594d")

add_patches("1.14.0", "https://github.com/PointCloudLibrary/pcl/commit/16c92e558bd146a9f68d58cd5aca64836be7c038.patch", "a7d025bb4ce2b4551029dcdc4db0cbf8f1eccd59cbcb7ddeebf5dac35cdaeac0")

add_configs("vtk", {description = "Build with vtk.", default = false, type = "boolean"})
add_configs("cuda", {description = "Build with cuda.", default = false, type = "boolean"})

add_deps("cmake")
add_deps("boost", {configs = {filesystem = true, serialization = true, date_time = true, iostreams = true, system = true}})
add_deps("eigen", "boost", "lz4", "flann", "zlib", "libpng", "qhull", "glew")
on_load("windows", "linux", "macosx", function (package)

on_load(function (package)
package:add("includedirs", "include/pcl-" .. package:version():major() .. "." .. package:version():minor())
if package:config("vtk") then
package:add("deps", "vtk")
Expand Down
Loading