CMakeList has been changed, lib folder is there, source files are there. Final code.