Python3_add_library() does not set correct output file name
When using:
Python3_add_library(my_module MODULE src1.cpp)
It will produce an output named my_module.so
, while the proper name should be something like my_module.cpython-37m-x86_64-linux-gnu.so
(depending on the Python version and platform name).