<div dir="ltr">Hello,<div><br></div><div>I am building CastXML on CentOS where LLVM/Clang 3.4.2 is installed and 3.9.0 has been built in another directory. Then Cmake emitted an error.</div><div><br></div><div><div>[root@algenib CastXML]# cmake ./src</div><div>-- The C compiler identification is GNU 4.8.5</div><div>-- The CXX compiler identification is GNU 4.8.5</div><div>-- Check for working C compiler: /usr/bin/cc</div><div>-- Check for working C compiler: /usr/bin/cc -- works</div><div>-- Detecting C compiler ABI info</div><div>-- Detecting C compiler ABI info - done</div><div>-- Check for working CXX compiler: /usr/bin/c++</div><div>-- Check for working CXX compiler: /usr/bin/c++ -- works</div><div>-- Detecting CXX compiler ABI info</div><div>-- Detecting CXX compiler ABI info - done</div><div>CMake Error at CMakeLists.txt:48 (llvm_map_components_to_<wbr>libnames):</div><div>  Unknown CMake command "llvm_map_components_to_<wbr>libnames".</div><div><br></div><div>The below also failed in the same error.</div><div><br></div><div>[root@algenib CastXML]# CC=clang CXX=clang++ LLVM_DIR=/root/llvm-3.9.0.build cmake ./src<br></div></div><div><br></div><div>Should the CMakeLists.txt be modified to work in my environment? Please advise. Thank you.</div><div><br></div><div>Ryo</div><div><br></div></div>