A compound of Formula (I) for use in a method of treating pr preventing a
disease associated with an aberrantly activated
Hedgehog (HH) signalling pathway; Wherein A is selected from halo, or optionally substituted
aryl, heteroaryl, cycloalkyl, heterocycloalkyl, cycloalkenyl, heterocycloalkenyl,
alkyl, alkenyl and alkynyl; B is an optionally substituted
aryl or heteroaryl; L1 is absent or alkylene, NR’, NR’-alkylene, O, O-alkylene, S or S-alkylene; L2 is –(CR’2)0-3-C(O)NR’-, -(CR’2)1-3NR’-, -(CR’2)1-3NR’C(O)-, -C(=S)NR’-, -C(=NR’)NR’-, -S(O2)NR’-, -NR’C(O)NR’-, NR’S(O2)NR’, -OC(O)NR’-, -CR’F-NR’-, -CF2NR’-, -CR’(CF3)NR’-, -CF=CR’, -
oxetane-NR’ and hetroarylene; X is N or CR5; R1 and R2 are each independently selected H, halo,
alkyl, alkenyl, alkynyl and haloalkynyl, or together with the atoms to which they are attached form an
aryl, heteroaryl, cycloalkyl or heterocycloalkyl; R’, R3, R4 and R5 are as herein defined. Phramaceutical compositions comprising a subset of compounds of Formula (I) are also disclosed. B may be preferably phenyl, pyridyl pr thiophenyl.