Converted the project to CMake.