Fixing the cmake part is easy, replace version_1 with version_2. But the lens.c part is harder.
version_1
version_2