We build LLVM as part of our project. It resides in a subfolder and thus using CMAKE_SOURCE_DIR doesn't work for us. It points to the top level cmake folder.
Patch by Bertrand Bellenot.
I am adding Chris Bieneman as a reviewer since I saw him making cmake related commits. Please let me know if I need to add somebody else.