Switched main project to CMake