Added a CMake function to create a test for multiple definition errors in the public includes of a given submodule.