1 2 3 4
set(CMAKE_C_COMPILER gcc) set(CMAKE_C_FLAGS -m32) set(CMAKE_CXX_COMIPLER g++) set(CMAKE_CXX_FLAGS -m32)