41 lines
1.7 KiB
BlitzBasic
41 lines
1.7 KiB
BlitzBasic
DESCRIPTION = "The Point Cloud Library (or PCL) for point cloud processing."
|
|
SECTION = "devel"
|
|
LICENSE = "BSD"
|
|
LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=5b8a2a1aa14e6de44b4273134946a34c"
|
|
|
|
DEPENDS = "boost libflann libeigen qhull"
|
|
|
|
SRC_URI = "https://github.com/PointCloudLibrary/${PN}/archive/${P}.tar.gz"
|
|
SRC_URI[md5sum] = "02c72eb6760fcb1f2e359ad8871b9968"
|
|
SRC_URI[sha256sum] = "479f84f2c658a6319b78271111251b4c2d6cf07643421b66bbc351d9bed0ae93"
|
|
|
|
SRC_URI += "file://0001-Add-WITH_OPENGL-option-to-make-OpenGL-and-Glut-inclu.patch"
|
|
|
|
S = "${WORKDIR}/pcl-${P}"
|
|
|
|
EXTRA_OECMAKE += "\
|
|
-DCMAKE_SKIP_RPATH=ON \
|
|
-DHAVE_MM_MALLOC_EXITCODE=0 \
|
|
-DHAVE_POSIX_MEMALIGN_EXITCODE=0 \
|
|
${@bb.utils.contains("TARGET_CC_ARCH", "-msse4.2", "-DHAVE_SSE4_2_EXTENSIONS_EXITCODE=0", "-DHAVE_SSE4_2_EXTENSIONS_EXITCODE=1", d)} \
|
|
${@bb.utils.contains("TARGET_CC_ARCH", "-msse4.1", "-DHAVE_SSE4_1_EXTENSIONS_EXITCODE=0", "-DHAVE_SSE4_1_EXTENSIONS_EXITCODE=1", d)} \
|
|
${@bb.utils.contains("TARGET_CC_ARCH", "-msse3", "-DHAVE_SSE3_EXTENSIONS_EXITCODE=0", "-DHAVE_SSE3_EXTENSIONS_EXITCODE=1", d)} \
|
|
${@bb.utils.contains("TARGET_CC_ARCH", "-msse2", "-DHAVE_SSE2_EXTENSIONS_EXITCODE=0", "-DHAVE_SSE2_EXTENSIONS_EXITCODE=1", d)} \
|
|
${@bb.utils.contains("TARGET_CC_ARCH", "-msse", "-DHAVE_SSE_EXTENSIONS_EXITCODE=0", "-DHAVE_SSE_EXTENSIONS_EXITCODE=1", d)} \
|
|
-DWITH_LIBUSB=FALSE \
|
|
-DWITH_PNG=FALSE \
|
|
-DWITH_QHULL=TRUE \
|
|
-DWITH_CUDA=FALSE \
|
|
-DWITH_QT=FALSE \
|
|
-DWITH_VTK=FALSE \
|
|
-DWITH_PCAP=FALSE \
|
|
-DWITH_OPENGL=FALSE \
|
|
"
|
|
|
|
#Setting -ffloat-store to alleviate 32bit vs 64bit discrepancies on non-SSE platforms.
|
|
CXXFLAGS += "${@bb.utils.contains("TARGET_CC_ARCH", "-mfpmath=sse", "", "-ffloat-store", d)}"
|
|
|
|
inherit cmake
|
|
|
|
FILES_${PN}-dev += "${datadir}/${PN}-1.7/*.cmake"
|