Skip to content

cmake configure error #5

@suzixin

Description

@suzixin

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions