Trouble in generating 32bit GLFW application on Ubuntu 17.04

This answer for 32bit compilation on Ubuntu 64bit should hopefully point you in the right direction. Basically you need to add the following to the cmake project:

set_target_properties(MyTarget PROPERTIES COMPILE_FLAGS "-m32" LINK_FLAGS "-m32")

A quick search for cmake -m32 will also turn up more information for you if you want a different approach.