Use Delete Cascade Option with Sqlite

Hi, I have a problem to activate the option “Delete Cascate” on my app that used Sqlite.

If i use PRAGMA foreign_keys=ON; I get out an error "could not prepare statement (23 not authorized)

How Can i resolve this problem?

thank’s