Building GLFW3 for Linux x86

Hi,

I am trying to build static library of GLFW3 for Linux x86. I am trying to build it on 64 bit machine (Don’t ask why :grinning:). And I am newbie with Makefile and CMake and all that stuff. I was finding setting of processor architecture in these files but I failed. Does anyone know how I can build GLFW3 from source code for 32 bit Linux?

Thanks for answeres.

I solved my problem myself. After hard googling :grinning: I found that you can just add “set (CMAKE_C_FLAGS “-m32”)” to CMakeLists.txt to force compiler to build all files for 32 bit system.