UseSWIG: Lua libraries should be SHARED, not MODULE
AFAIK, most lua libraries can be linked to executables and therefore should be shared libraries, not modules.
unfortunately swig_add_module
creates the lua target as module, and therefore it cannot be linked by CMake, and the generated library doesn't have a SONAME.
I'm not sure if this is valid just for lua or also for other languages.