Re: [CMake] CMake 3.11.3: set properties on the command line?

2019-01-22 Thread Paul Smith
On Tue, 2018-12-18 at 08:22 +1100, Craig Scott wrote: > If you are setting your own sysroot, are you using a toolchain file? > You could put your set_property() command in your toolchain file if > you're using one. > Those techniques aside, it's interesting that you need to add this > manual workar

Re: [CMake] CMake 3.11.3: set properties on the command line?

2018-12-17 Thread Craig Scott
On Tue, Dec 18, 2018 at 7:42 AM Paul Smith wrote: > Hi all. > > I'm using cmake with a cross-compiler environment, but building third > party packages that are configured with CMake. So when I invoke cmake > for those packages I add this options to the command line: > > -DCMAKE_FIND_ROOT_PATH=

[CMake] CMake 3.11.3: set properties on the command line?

2018-12-17 Thread Paul Smith
Hi all. I'm using cmake with a cross-compiler environment, but building third party packages that are configured with CMake. So when I invoke cmake for those packages I add this options to the command line: -DCMAKE_FIND_ROOT_PATH=/my/sysroot However, this is not working because it's finding 3