2

This question is about getting find_package(Boost REQUIRED) in a CMakeLists.txt file to work in a Yocto SDK.

I have the same question but for a Yocto Extensible SDK.

CMake finds the compiler and linker just fine, but doesn't know where to find packages, such as Boost. I get messages such as Unable to find the requested Boost libraries.

Unable to find the Boost header files.  Please set BOOST_ROOT to the root
directory containing Boost or BOOST_INCLUDEDIR to the directory containing
Boost's headers.

The answer to the other question doesn't seem to apply to extensible SDKs.

Aaron Wright
  • 328
  • 2
  • 11
  • In other words, the question is **how to get CMake toolchain** file for eSDK, doesn't it? This is just for clarification. – Tsyvarev Jun 16 '17 at 23:08
  • Yes, but ideally this would be transparent to my developers. I would love for it to "Just Work." – Aaron Wright Jun 19 '17 at 15:50

0 Answers0