I have a project where a lib and a binary requiring the lib are built in
separate subdirs of the project root. Each dir contains its own CMakeLists.txt
with build/install targets, and there is also a top level one, which mainly
just adds subdirectories etc.
I want to add .deb package generation
riable/CMAKE_FIND_ROOT_PATH.html),
>
> [CMAKE_FIND_ROOT_PATH_MODE_LIBRARY](https://cmake.org/cmake/help/latest/variable/CMAKE_FIND_ROOT_PATH_MODE_LIBRARY.html)
> and friends?
>
> On Tue, Jul 3, 2018 at 10:58 PM, dbegun via CMake wrote:
>
>> I am cross-compiling some code for ARM on an
I am cross-compiling some code for ARM on an x86 host with cmake 3.5.1. The
code has multiple dependencies, and I placed relevant cross-compiled libraries
in /home/dev/arm_build. I was hoping that specifying
CMAKE_SYSROOT=/home/dev/arm_build in my CMAKE_TOOLCHAIN_FILE would prefix it to
the sea