Undefined symbols for architecture x86_64 when compile newFrontendActionFactory with clang 5.0.

I have modify my CMakeList.txt like this, But it still gets the same error...

set(LLVM_USED_LIBS clangTooling clangBasic clangAST <b>clangFrontend clangFrontendTool</b>)

Please help me out here ... thx a lot.