Re: [CMake] Find SDL

2014-08-31 Thread Benjamin Eikel
Hi Christer, Zitat von Christer Solskogen : They are cross compiled for Windows (mingw-w64) which means that they have different names (libSDL.dll.a for instance) but they are installed in /opt/cross-mingw-w64/x86_64-w64-mingw32/{include,lib}. x86_64-w64-mingw32-gcc is using /home/solskogen/obj

Re: [CMake] Find SDL

2014-08-26 Thread Christer Solskogen
Benjamin Eikel writes: > > Hello Christer, > > Zitat von Christer Solskogen : > > > Hi! > > > > I have a cross compiler, installed into /opt/cross, which is > > compiled by me. This cross compiler (gcc) is sysroot aware, which > > means that every header and library is installed into > >

Re: [CMake] Find SDL

2014-08-25 Thread Benjamin Eikel
Hello Christer, Zitat von Christer Solskogen : Hi! I have a cross compiler, installed into /opt/cross, which is compiled by me. This cross compiler (gcc) is sysroot aware, which means that every header and library is installed into /opt/cross/. In order to get cmake to find SDL (both S

[CMake] Find SDL

2014-08-24 Thread Christer Solskogen
Hi! I have a cross compiler, installed into /opt/cross, which is compiled by me. This cross compiler (gcc) is sysroot aware, which means that every header and library is installed into /opt/cross/. In order to get cmake to find SDL (both SDL1 and SDL2) I need to specify SDLDIR. The project I