CMakeLists.txt of Frenap remade