Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
lld/build$ cmake -G Ninja ..
CMake Error at CMakeLists.txt:6 (string):
string sub-command REGEX, mode MATCH needs at least 5 arguments total to
command.
-- LLD version:
CMake Error at CMakeLists.txt:10 (string):
string sub-command REGEX, mode REPLACE needs at least 6 arguments total to
command.
CMake Error at CMakeLists.txt:12 (string):
string sub-command REGEX, mode REPLACE needs at least 6 arguments total to
command.
CMake Error at CMakeLists.txt:91 (add_llvm_library):
Unknown CMake command "add_llvm_library".
Call Stack (most recent call first):
lib/Config/CMakeLists.txt:1 (add_lld_library)
CMake Warning (dev) in CMakeLists.txt:
No cmake_minimum_required command is present. A line of code such as
cmake_minimum_required(VERSION 3.4)
should be added at the top of the file. The version specified may be lower
if you wish to support older CMake versions for this project. For more
information run "cmake --help-policy CMP0000".
This warning is for project developers. Use -Wno-dev to suppress it.
-- Configuring incomplete, errors occurred!
@dalilavieira

This comment has been minimized.

Copy link

@dalilavieira dalilavieira commented Jul 6, 2020

Hi. Have you found the solution for this problem ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment