Re: [CMake] Pre-processor flags issue

2011-03-11 Thread Rolf Eike Beer
Am Freitag 11 März 2011, 23:08:43 schrieb Enrique Izaguirre: > Hello friends, > > I am trying to cross-compile an application from Windows to Linux. My > Toolchain file looks like this: > > set(CMAKE_SYSTEM_NAME Linux) > > #specify the cross-compiler > set (CMAKE_C_COMPILER /bin/gcc-linux) > set

[CMake] Pre-processor flags issue

2011-03-11 Thread Enrique Izaguirre
Hello friends, I am trying to cross-compile an application from Windows to Linux. My Toolchain file looks like this: set(CMAKE_SYSTEM_NAME Linux) #specify the cross-compiler set (CMAKE_C_COMPILER /bin/gcc-linux) set (CMAKE_CXX_COMPILER /bin/g++-linux) The problem is that I have in my main CMak