[cmake-developers] Building with Qt for the Raspberry Pi with CMake

Stephen Kelly steveire at gmail.com
Wed Apr 17 15:35:50 EDT 2013


Alexander Neundorf wrote:

>>
>>set(Qt5Gui_EGL_INCLUDE_DIRS
>>${CMAKE_FIND_ROOT_PATH}/opt/vc/include
>>${CMAKE_FIND_ROOT_PATH}/opt/vc/include/interface/vcos/pthreads
>>${CMAKE_FIND_ROOT_PATH}/opt/vc/include/interface/vmcs_host/linux
>>)
> 
> In general CMAKE_FIND_ROOT_PATH is a list, then this would be a bug.
> Does the generated toolchain file ensure that it is not a list ?

No, it doesn't. I agree it's a bug, and I intend to try to fix it. The patch 
is wip, but works perfectly for all cross-compiles I've tried with it 
(wince, embedded linux. Haven't tried QNX yet.)

Thanks,

Steve.





More information about the cmake-developers mailing list