The invention relates to compounds of general formula
wherein
R
1
,
R
2
,
R
3
/R
3′
, R
4
/R
4′
and R
5
/R
5′
are as defined in the specification and to pharmaceutically acceptable acid addition salts, optically pure enantiomers, racemates or diastereomeric mixtures thereof. The compounds are γ-secretase inhibitors which can be useful in the treatment of Alzheimer's disease or common cancers including, but not limited to, cervical carcinomas and breast carcinomas and malignancies of the hematopoietic system.