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 committed Nov 24, 2019
1 parent 0297d5b commit 8c36baf
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions recipes-extended/pcl/pcl_1.8.1.bb
Original file line number Diff line number Diff line change
Expand Up @@ -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 \
Expand Down

0 comments on commit 8c36baf

Please sign in to comment.