llvm-dev-meeting-tutorial-2015
llvm-dev-meeting-tutorial-2015 copied to clipboard
cmake configure error
After I
mkdir build && cd build/
# I install llvm in default directory.
cmake .. -DLLVM_ROOT=/usr/local
The output was:
CMake Error at MBA/CMakeLists.txt:2 (add_llvm_loadable_module):
Unknown CMake command "add_llvm_loadable_module".
-- Configuring incomplete, errors occurred!
See also "/home/suzixin/llvm-dev-meeting-tutorial-2015/build/CMakeFiles/CMakeOutput.log".
See also "/home/suzixin/llvm-dev-meeting-tutorial-2015/build/CMakeFiles/CMakeError.log".
[root@localhost build]# pwd
/home/suzixin/llvm-dev-meeting-tutorial-2015/build
How can I solved this problem?