set( CMAKE_SYSTEM_NAME "Linux" ) set( CMAKE_SYSTEM_PROCESSOR "i386" ) set( CMAKE_C_FLAGS "-m32" ) set( CMAKE_CXX_FLAGS "-m32" )