Skip to content

Commit

Permalink
pcl: Fix build error
Browse files Browse the repository at this point in the history
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)
  • Loading branch information
eigendude authored and shr-project committed Dec 20, 2019
1 parent ab5bd6a commit 29a047d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions meta-ros-common/recipes-extended/pcl/pcl_1.8.1.bb
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,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 \
Expand Down

0 comments on commit 29a047d

Please sign in to comment.