1set(CMAKE_SYSTEM_NAME Linux)
2set(CMAKE_SYSTEM_VERSION 1)
3set(CMAKE_SYSTEM_PROCESSOR "x86")
4
5set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -m32 -msse2" CACHE STRING "c++ flags")
6set(CMAKE_C_FLAGS   "${CMAKE_C_FLAGS} -m32 -msse2" CACHE STRING "c flags")
7set(CMAKE_ASM_FLAGS "${CMAKE_ASM_FLAGS} -m32 -msse2" CACHE STRING "asm flags")
8