This repository has been archived on 2023-11-26. You can view files and clone it, but cannot push or open issues or pull requests.
ScriptCraft/cmake/linux_i686_toolchain.cmake

7 lines
188 B
CMake
Raw Normal View History

2020-04-25 13:33:17 +00:00
set(CMAKE_SYSTEM_NAME Linux)
set(CMAKE_SYSTEM_PROCESSOR i686)
set(CMAKE_C_FLAGS "-m32 -march=i686")
set(CMAKE_CXX_FLAGS "-m32 -march=i686")
set(CMAKE_EXE_LINKER_FLAGS "-m32 -march=i686")