Improve / simplfy cmake
cmake files needs some cleanup. They are not easy to understand and have some legacy. We should simplify them and remove all the legacy.
cmake files needs some cleanup. They are not easy to understand and have some legacy. We should simplify them and remove all the legacy.