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

pangolin: new recipe #23782

Open
wants to merge 14 commits into
base: master
Choose a base branch
from
41 changes: 41 additions & 0 deletions recipes/pangolin/all/conan_deps.cmake
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
# Custom find_package() wrapper because CMakeDeps does not support upper-case CMake var output expected by the project.
macro(custom_find_package name)
find_package(${name} ${ARGN} QUIET)
string(TOUPPER ${name} name_upper)
set(${name_upper}_FOUND TRUE)
set(${name_upper}_VERSION_STRING ${${name}_VERSION_STRING})
set(${name_upper}_INCLUDE_DIRS ${${name}_INCLUDE_DIRS})
set(${name_upper}_INCLUDE_DIR ${${name}_INCLUDE_DIR})
set(${name_upper}_LIBRARIES ${${name}_LIBRARIES})
set(${name_upper}_DEFINITIONS ${${name}_DEFINITIONS})
set(${name_upper}_LIBRARY ${${name}_LIBRARIES})
set(${name}_LIBRARY ${${name}_LIBRARIES})
unset(name_upper)
endmacro()

custom_find_package(DC1394)
#custom_find_package(DepthSense)
custom_find_package(Eigen3)
custom_find_package(FFMPEG)
custom_find_package(GLEW MODULE)
custom_find_package(JPEG)
custom_find_package(libraw)
custom_find_package(libusb1)
custom_find_package(Lz4)
#custom_find_package(MediaFoundation)
custom_find_package(OpenEXR)
custom_find_package(OpenNI2)
#custom_find_package(Pleora)
custom_find_package(PNG)
custom_find_package(pybind11)
custom_find_package(RealSense2)
#custom_find_package(TeliCam)
custom_find_package(TIFF)
custom_find_package(uvc)
custom_find_package(X11)
custom_find_package(zstd CONFIG)

# Unvendored dependencies
find_package(PalSigslot REQUIRED CONFIG)
link_libraries(Pal::Sigslot)
find_package(tinyobjloader REQUIRED CONFIG)
4 changes: 4 additions & 0 deletions recipes/pangolin/all/conandata.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
sources:
"0.9.1":
url: "https://github.com/stevenlovegrove/Pangolin/archive/v0.9.1.tar.gz"
sha256: "cc6c5fbd81a9dc40dac220ef57e46d7db0c1deb6d6ae62ba7f685c68c100119f"
Loading