update cmake EOD
add plugins needed functions + EOD