CMake Version of Legion