* Removed TREAT_WARNING_AS_ERROR option * Removed warning as error for samples if cmake option is not defined