Re: [CMake] Include directories problem when cross compiling with MinGW

2016-09-19 Thread David Demelier
2016-09-12 23:22 GMT+02:00 Maciej Mrozowski : > On piątek, 2 września 2016 13:12:27 CEST David Demelier wrote: > >> Do you have any clue? > > It seems your toolchain does not have include/library path built-in or they > are different that those it was built with. After some discuss with ngladitz,

Re: [CMake] Include directories problem when cross compiling with MinGW

2016-09-12 Thread Maciej Mrozowski
On piątek, 2 września 2016 13:12:27 CEST David Demelier wrote: > Do you have any clue? It seems your toolchain does not have include/library path built-in or they are different that those it was built with. You can inspect them by passing one of below parameters to mingw-*-gcc: -print-search-

[CMake] Include directories problem when cross compiling with MinGW

2016-09-02 Thread David Demelier
Hello, I'm trying to cross compile a project on Arch Linux using MinGW for Windows. I've installed a lot of libraries from their AUR into /usr/x86_64-w64- mingw32. This seems okay as CMake finds every library needed. My example project consists of: cmake_minimum_required(VERSION 3.5) project(te