Using Boost Graph Library aka compiling with RTTI


I want to use BGL (1.49.0) with a plugin for clang. This requires the use of RTTI.

But using REQUIRES_RTTI=1 didn't work for me on Mac OS X Snow Leopard. I actually don't care about rtti, just want to use BGL.

Please help - how do I compile with rtti? Alternatively, how can I use the graph libraries with clang without needing rtti?


FYI for the concerned, Compiling with cmake and using LLVM_REQUIRES_RTTI works as expected where using REQUIRES_RTTI with make didn't.