improved cmake scripts
fix Doxygen config
fix in min req cmake
fixed compile error