make AngelScript an optional module, you can use -DENABLE_ANGEL_SCRIPT=0...

... to disable it.