BLD: cmake: add cmake_minimum_required, and the missing file vf_r.cpp to the list of source files in CMakeLists.txt