llvm-dev-meeting-tutorial-2015 icon indicating copy to clipboard operation
llvm-dev-meeting-tutorial-2015 copied to clipboard

cmake configure error

Open suzixin opened this issue 5 years ago • 0 comments

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?

suzixin avatar Jan 21 '20 01:01 suzixin