aboutsummaryrefslogtreecommitdiff
path: root/cmake/i686-linux-gnu.cmake
blob: 7768048fad8278e8267e619c2120629786ebea3e (plain)
1
2
3
4
5
6
7
# the name of the target operating system
set(CMAKE_SYSTEM_NAME Linux)
set(CMAKE_SYSTEM_PROCESSOR "i686")
set(TOOLCHAIN "i686-linux-gnu")

set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -m32" CACHE STRING "c++ flags")
set(CMAKE_C_FLAGS   "${CMAKE_C_FLAGS} -m32" CACHE STRING "c flags")