From 30be107582e058068fb607946eb9601e1d882ffe Mon Sep 17 00:00:00 2001 From: Garrett Brown Date: Mon, 18 Nov 2019 21:56:33 -0800 Subject: [PATCH] pcl: Fix build error Error was: CMake Error: TRY_RUN() invoked in cross-compiling mode, please set the following cache variables appropriately: HAVE_POSIX_MEMALIGN_EXITCODE (advanced) HAVE_POSIX_MEMALIGN_EXITCODE__TRYRUN_OUTPUT (advanced) --- recipes-extended/pcl/pcl_1.8.1.bb | 1 + 1 file changed, 1 insertion(+) diff --git a/recipes-extended/pcl/pcl_1.8.1.bb b/recipes-extended/pcl/pcl_1.8.1.bb index b8d95a1e4ba..c3236feb1e2 100644 --- a/recipes-extended/pcl/pcl_1.8.1.bb +++ b/recipes-extended/pcl/pcl_1.8.1.bb @@ -18,6 +18,7 @@ EXTRA_OECMAKE += "\ -DCMAKE_SKIP_RPATH=ON \ -DHAVE_MM_MALLOC_EXITCODE=0 \ -DHAVE_POSIX_MEMALIGN_EXITCODE=0 \ + -DHAVE_POSIX_MEMALIGN_EXITCODE__TRYRUN_OUTPUT=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)} \ -DHAVE_SSSE3_EXTENSIONS_EXITCODE=0 \