[CMake] unknown cmake command

Robert Finch robfi680 at gmail.com
Sun Sep 9 00:52:20 EDT 2018


Hi, cmake is new to me. I’m attempting to use cmake to build a backend for
LLVM. CMake fails with an ‘unknown cmake command’ error. It doesn’t seem to
be able to find or execute modules or macros. I tried setting the
CMAKE_MODULE_PATH, LLVM_CMAKE_DIR, LLVM_DIR, and LLVM_TABLEGEN variables. I
wonder if this would be a problem spawning executables ? Security ? Nothing
is written to the log file. tablegen is in the path and can be run
manually, but cmake fails to run it. Cmake successfully built and installed
LLVM.  The file cmake fails with is Cmakelists.txt. The OS is Windows 10
pro build 1803.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://cmake.org/pipermail/cmake/attachments/20180909/5a2a3001/attachment.html>


More information about the CMake mailing list